someniatko/result-type-psalm-plugin

Psalm plugin for someniatko/result-type library

1.1.0 2024-11-26 13:02 UTC

This package is auto-updated.

Last update: 2024-11-26 14:52:46 UTC


README

Provides more precise type support for Result::all() of someniatko/result-type lib.

Supports Psalm 5 and PHP 8.2+.

Installation

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>