Skip to content

Commit

Permalink
Revert "Fix 'Function ReflectionType::__toString() is deprecated'"
Browse files Browse the repository at this point in the history
This reverts commit 97f7f7f.
  • Loading branch information
phil-davis committed Dec 19, 2019
1 parent 66909a2 commit a2da02b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function reflect($object, $method) {
if (\method_exists($param, 'getType')) {
$type = $param->getType();
if ($type !== null) {
$this->types[$param->getName()] = $type->getName();
$this->types[$param->getName()] = (string) $type;
}
}

Expand Down

0 comments on commit a2da02b

Please sign in to comment.