Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc349d5f

Browse files
committed
[Config] Removed implicit cast of ReflectionProperty to string.
1 parent52abcbe commitc349d5f

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
yieldprint_r(isset($defaults[$p->name]) && !\is_object($defaults[$p->name]) ?$defaults[$p->name] :null,true);
144144
}
145145
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp