Interface PHPStan\Type\ExpressionTypeResolverExtension

To register it in the configuration file use the phpstan.broker.expressionTypeResolverExtension service tag:

services:
	-
		class: App\PHPStan\MyExtension
		tags:
			- phpstan.broker.expressionTypeResolverExtension

You should return null in your extension if you don't care about given Expr.

Methods