8000 [Config] Removed implicit cast of ReflectionProperty to string. · symfony/symfony@c349d5f · GitHub
[go: up one dir, main page]

Skip to content

Commit c349d5f

Browse files
committed
[Config] Removed implicit cast of ReflectionProperty to string.
1 parent 52abcbe commit c349d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Config/Resource/ReflectionClassResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ private function generateSignature(\ReflectionClass $class)
139139
$defaults = $class->getDefaultProperties();
140140

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

0 commit comments

Comments
 (0)
0