mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-17 16:42:25 +00:00
typo
This commit is contained in:
parent
f7646048c6
commit
fe7ab04430
|
@ -32,7 +32,7 @@ final class PropertyTypeResolver implements PerNodeTypeResolverInterface, NodeTy
|
|||
*/
|
||||
public function resolve(Node $propertyNode): array
|
||||
{
|
||||
// fake property to local PropertyFetch → PHPStan understand that
|
||||
// fake property to local PropertyFetch → PHPStan understands that
|
||||
$propertyFetchNode = new PropertyFetch(new Variable('this'), (string) $propertyNode->props[0]->name);
|
||||
$propertyFetchNode->setAttribute(Attribute::SCOPE, $propertyNode->getAttribute(Attribute::SCOPE));
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user