1: | <?php declare(strict_types = 1); |
2: | |
3: | namespace PHPStan\Type; |
4: | |
5: | use PhpParser\Node\Expr\FuncCall; |
6: | use PHPStan\Analyser\Scope; |
7: | use PHPStan\Analyser\SpecifiedTypes; |
8: | use PHPStan\Analyser\TypeSpecifierContext; |
9: | use PHPStan\Reflection\FunctionReflection; |
10: | |
11: | |
12: | interface FunctionTypeSpecifyingExtension |
13: | { |
14: | |
15: | public function isFunctionSupported(FunctionReflection $functionReflection, FuncCall $node, TypeSpecifierContext $context): bool; |
16: | |
17: | public function specifyTypes(FunctionReflection $functionReflection, FuncCall $node, Scope $scope, TypeSpecifierContext $context): SpecifiedTypes; |
18: | |
19: | } |
20: | |