Provides more precise type support for Result::all()
of someniatko/result-type
lib.
Supports Psalm 5 and PHP 7.4+.
composer require --dev someniatko/result-type-psalm-plugin
Then add to your psalm.xml
:
<psalm>
<!-- other stuff -->
<plugins>
<!-- other plugins -->
<pluginClass class="Someniatko\ResultTypePsalmPlugin\Plugin"/>
</plugins>
</psalm>