| 1: | <?php declare(strict_types = 1); |
| 2: | |
| 3: | namespace PHPStan\Type; |
| 4: | |
| 5: | use PHPStan\Broker\BrokerFactory; |
| 6: | use PHPStan\DependencyInjection\ExtensionInterface; |
| 7: | |
| 8: | |
| 9: | |
| 10: | |
| 11: | |
| 12: | |
| 13: | |
| 14: | |
| 15: | |
| 16: | |
| 17: | |
| 18: | |
| 19: | |
| 20: | |
| 21: | |
| 22: | |
| 23: | |
| 24: | |
| 25: | |
| 26: | |
| 27: | #[ExtensionInterface(tag: BrokerFactory::OPERATOR_TYPE_SPECIFYING_EXTENSION_TAG)] |
| 28: | interface OperatorTypeSpecifyingExtension |
| 29: | { |
| 30: | |
| 31: | public function isOperatorSupported(string $operatorSigil, Type $leftSide, Type $rightSide): bool; |
| 32: | |
| 33: | public function specifyType(string $operatorSigil, Type $leftSide, Type $rightSide): Type; |
| 34: | |
| 35: | } |
| 36: | |