File tree Expand file tree Collapse file tree
src/Psalm/Internal/Codebase Expand file tree Collapse file tree Original file line number Diff line number Diff line change 450450 'reflectionparameter ' => [
451451 'name ' => 'string ' ,
452452 ],
453+ 'reflectionproperty ' => [
454+ 'name ' => 'string ' ,
455+ 'class ' => 'string ' ,
456+ ],
453457 'phpparser \\node \\expr \\array_ ' => [
454458 'items ' => 'array<int, PhpParser\Node\Expr\ArrayItem|null> ' ,
455459 ],
Original file line number Diff line number Diff line change @@ -133,9 +133,9 @@ public function registerClass(ReflectionClass $reflected_class): void
133133 $ storage ->properties [$ property_name ]->visibility = ClassLikeAnalyzer::VISIBILITY_PRIVATE ;
134134 }
135135
136- $ property_id = ( string ) $ class_property ->class . '::$ ' . $ property_name ;
136+ $ property_id = $ class_property ->class . '::$ ' . $ property_name ;
137137
138- $ storage ->declaring_property_ids [$ property_name ] = ( string ) $ class_property ->class ;
138+ $ storage ->declaring_property_ids [$ property_name ] = $ class_property ->class ;
139139 $ storage ->appearing_property_ids [$ property_name ] = $ property_id ;
140140
141141 if (!$ class_property ->isPrivate ()) {
You can’t perform that action at this time.
0 commit comments