phpstan-laminas-framework
phpstan-laminas-framework copied to clipboard
Usage with API Tools
I would like to check in specific cases that response is Laminas\ApiTools\ApiProblem\ApiProblemResponse, but:
Instanceof between Laminas\Http\PhpEnvironment\Response and Laminas\ApiTools\ApiProblem\ApiProblemResponse will always evaluate to false.