From 5f149dc2dd5a728e3adcd24032504141d73ba95b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 16 Sep 2025 14:15:22 +0000 Subject: [PATCH 1/2] chore(deps): update dependency phpstan/phpstan to v2.1.26 --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", From 8f1d578ea000f592558f43e8c82fc08c29a54b63 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Wed, 17 Sep 2025 10:52:07 +0200 Subject: [PATCH 2/2] Prevent crash --- src/Utils/SchemaExtender.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 [