We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65b31d6 commit 50c07e7Copy full SHA for 50c07e7
composer.json
@@ -10,7 +10,7 @@
10
"require-dev": {
11
"phpecs/phpecs": "^2.2",
12
"phpstan/extension-installer": "^1.4",
13
- "phpstan/phpstan": "^2.1.31",
+ "phpstan/phpstan": "^2.1.32",
14
"phpstan/phpstan-webmozart-assert": "^2.0",
15
"phpunit/phpunit": "^11.5",
16
"rector/jack": "^0.2.9",
rules/CodeQuality/Rector/Class_/InlineClassRoutePrefixRector.php
@@ -234,6 +234,7 @@ public function refactor(Node $node): ?Class_
234
// silent or "path"
235
if ($attributeArg->name === null || $attributeArg->name->toString() === self::PATH) {
236
unset($attribute->args[$attributeArgKey]);
237
+ $attribute->args = array_values($attribute->args);
238
}
239
240
0 commit comments