From b44284f94b9afa0ed5fbd558bd15f914a9ae70b5 Mon Sep 17 00:00:00 2001 From: Caleb White Date: Mon, 1 Dec 2025 19:24:13 -0600 Subject: [PATCH] chore: clean up app to resolve --- src/Rector/FuncCall/AppToResolveRector.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/Rector/FuncCall/AppToResolveRector.php b/src/Rector/FuncCall/AppToResolveRector.php index 41563be2..3e3af906 100644 --- a/src/Rector/FuncCall/AppToResolveRector.php +++ b/src/Rector/FuncCall/AppToResolveRector.php @@ -42,10 +42,7 @@ public function getNodeTypes(): array */ public function refactor(Node $node): ?FuncCall { - if ( - ! $node->name instanceof Name - || ! $this->isName($node->name, 'app') - ) { + if (! $this->isName($node, 'app')) { return null; }