Skip to content

Commit

Permalink
fix: add ParameterClosureTypeExtensionProvider argument to NodeScopeR…
Browse files Browse the repository at this point in the history
…esolver
  • Loading branch information
tomloprod authored May 31, 2024
1 parent 7ba7d70 commit 2bde7b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/PHPStanAnalyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
use PHPStan\DependencyInjection\Container;
use PHPStan\DependencyInjection\Reflection\ClassReflectionExtensionRegistryProvider;
use PHPStan\DependencyInjection\Type\DynamicThrowTypeExtensionProvider;
use PHPStan\DependencyInjection\Type\ParameterClosureTypeExtensionProvider;
use PHPStan\File\FileHelper;
use PHPStan\Php\PhpVersion;
use PHPStan\PhpDoc\PhpDocInheritanceResolver;
Expand Down Expand Up @@ -64,6 +65,7 @@ public static function make(Container $container, array $rules, array $collector
$typeSpecifier, // @phpstan-ignore-line
$container->getByType(DynamicThrowTypeExtensionProvider::class),
$container->getByType(ReadWritePropertiesExtensionProvider::class),
$container->getByType(ParameterClosureTypeExtensionProvider::class),
$scopeFactory,
false,
true,
Expand Down

0 comments on commit 2bde7b0

Please sign in to comment.