Skip to content

Commit

Permalink
use remove from stmts directly
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 9, 2022
1 parent b5f14ec commit c06695a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"symfony/string": "^6.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.7",
"friendsofphp/php-cs-fixer": "^3.8",
"php-parallel-lint/php-parallel-lint": "^1.3",
"phpspec/prophecy-phpunit": "^2.0",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "^1.3",
"phpunit/phpunit": "^9.5",
"rector/phpstan-rules": "^0.4.20",
"rector/rector-generator": "dev-main",
"rector/rector-src": "dev-main#848e23b",
"rector/rector-src": "dev-main#4c6e22b",
"symfony/console": "^6.0",
"symplify/coding-standard": "^10.1",
"symplify/easy-coding-standard": "^10.1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ public function refactor(Node $node): ?Node
new PropertyMetadata($paramName, new ObjectType((string) $param->type), Class_::MODIFIER_PROTECTED)
);

$this->removeNodeFromStatements($node, $injectMethod);
$this->nodeRemover->removeNodeFromStatements($node, $injectMethod);
}

return $node;
Expand Down

0 comments on commit c06695a

Please sign in to comment.