Closed jtojnar closed 1 year ago
This will make it nicer to use with PHPStan.
Looks like the code is too dynamic to be able to make use of static type checking to the level I wanted. So I have decided to just add a PHPStan stub locally:
https://github.com/fossar/guzzle-transcoder/blob/bdcaf57645cacced9ba7663c5467223a7ff08abe/utils/PHPStan/Stubs/GuzzlePromises.stub
This will make it nicer to use with PHPStan.