Skip to content

Commit

Permalink
Fix conditionalTags for ParameterOutExtensions
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Jun 20, 2024
1 parent 00ef9df commit a166a8a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DependencyInjection/ConditionalTagsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
use PHPStan\Broker\BrokerFactory;
use PHPStan\Collectors\RegistryFactory as CollectorRegistryFactory;
use PHPStan\DependencyInjection\Type\LazyDynamicThrowTypeExtensionProvider;
use PHPStan\DependencyInjection\Type\LazyParameterOutTypeExtensionProvider;
use PHPStan\Parser\RichParser;
use PHPStan\PhpDoc\StubFilesExtension;
use PHPStan\PhpDoc\TypeNodeResolverExtension;
Expand Down Expand Up @@ -49,6 +50,9 @@ public function getConfigSchema(): Nette\Schema\Schema
LazyDynamicThrowTypeExtensionProvider::FUNCTION_TAG => $bool,
LazyDynamicThrowTypeExtensionProvider::METHOD_TAG => $bool,
LazyDynamicThrowTypeExtensionProvider::STATIC_METHOD_TAG => $bool,
LazyParameterOutTypeExtensionProvider::FUNCTION_TAG => $bool,
LazyParameterOutTypeExtensionProvider::METHOD_TAG => $bool,
LazyParameterOutTypeExtensionProvider::STATIC_METHOD_TAG => $bool,
])->min(1));
}

Expand Down

0 comments on commit a166a8a

Please sign in to comment.