Closed alexeyshockov closed 4 years ago
inspect_all() simply goes over an iterable param and passes values to inspect() which accepts only PromiseInterface instances.
inspect_all()
inspect()
PromiseInterface
~Looks good! 👍~
I just did a quick test. PHPStorm do recognise iterable but it does not understand iterable<PromiseInterface>. But PHPStan/Psalm will find that for users.
iterable
iterable<PromiseInterface>
inspect_all()
simply goes over an iterable param and passes values toinspect()
which accepts onlyPromiseInterface
instances.