We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19a7885 commit 74b18c2Copy full SHA for 74b18c2
Resource/ReflectionClassResource.php
@@ -140,7 +140,7 @@ private function generateSignature(\ReflectionClass $class)
140
141
foreach ($class->getProperties(\ReflectionProperty::IS_PUBLIC | \ReflectionProperty::IS_PROTECTED) as $p) {
142
yield $p->getDocComment().$p;
143
- yield print_r($defaults[$p->name] ?? null, true);
+ yield print_r(isset($defaults[$p->name]) ? $defaults[$p->name] : null, true);
144
}
145
146
0 commit comments