diff --git a/composer.json b/composer.json index dc1dfba23..994233699 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "nyholm/psr7": "^1.5", "phpbench/phpbench": "^1.2", "phpstan/extension-installer": "^1.1", - "phpstan/phpstan": "2.1.25", + "phpstan/phpstan": "2.1.26", "phpstan/phpstan-phpunit": "2.0.7", "phpstan/phpstan-strict-rules": "2.0.6", "phpunit/phpunit": "^9.5 || ^10.5.21 || ^11", diff --git a/src/Utils/SchemaExtender.php b/src/Utils/SchemaExtender.php index 8259cffb2..797d34378 100644 --- a/src/Utils/SchemaExtender.php +++ b/src/Utils/SchemaExtender.php @@ -203,11 +203,7 @@ function (string $typeName) use ($schema): Type { return new Schema($schemaConfig); } - /** - * @param Type&NamedType $type - * - * @return array|null - */ + /** @return array|null */ protected function extensionASTNodes(NamedType $type): ?array { return [