Interface PHPStan\Type\StaticMethodTypeSpecifyingExtension

This is the interface type-specifying extensions implement for static methods.

To register it in the configuration file use the phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension service tag:

services:
	-
		class: App\PHPStan\MyExtension
		tags:
			- phpstan.typeSpecifier.staticMethodTypeSpecifyingExtension

Learn more: https://phpstan.org/developing-extensions/type-specifying-extensions

Methods