phpstan-laminas-framework icon indicating copy to clipboard operation
phpstan-laminas-framework copied to clipboard

Usage with API Tools

Open snapshotpl opened this issue 4 years ago • 0 comments

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.

snapshotpl avatar Nov 09 '21 16:11 snapshotpl