Skip to content

Commit

Permalink
[Config] Removed implicit cast of ReflectionProperty to string.
Browse files Browse the repository at this point in the history
  • Loading branch information
derrabus committed May 22, 2020
1 parent 52abcbe commit c349d5f
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -139,7 +139,7 @@ private function generateSignature(\ReflectionClass $class)
$defaults = $class->getDefaultProperties();

foreach ($class->getProperties(\ReflectionProperty::IS_PUBLIC | \ReflectionProperty::IS_PROTECTED) as $p) {
yield $p->getDocComment().$p;
yield $p->getDocComment().$p->name;
yield print_r(isset($defaults[$p->name]) && !\is_object($defaults[$p->name]) ? $defaults[$p->name] : null, true);
}
}
Expand Down

0 comments on commit c349d5f

Please sign in to comment.