| 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\Reflection\FunctionReflection; |
| 8: | use PHPStan\Reflection\ParameterReflection; |
| 9: | |
| 10: | |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | |
| 24: | |
| 25: | interface FunctionParameterClosureTypeExtension |
| 26: | { |
| 27: | |
| 28: | public function isFunctionSupported(FunctionReflection $functionReflection, ParameterReflection $parameter): bool; |
| 29: | |
| 30: | public function getTypeFromFunctionCall(FunctionReflection $functionReflection, FuncCall $functionCall, ParameterReflection $parameter, Scope $scope): ?Type; |
| 31: | |
| 32: | } |
| 33: | |