driftingly/rector-laravel

AddGenericReturnTypeToRelationsRector missing contructor argument `StaticTypeMapper $staticTypeMapper`

Closed this issue · 1 comments

This class has 3 calls on $this->staticTypeMapper that is not defined.

When the class is executed, i get "System error: "Call to a member function mapPHPStanPhpDocTypeNodeToPHPStanType() on null"

#151 fixes this issue FYI

Thanks for reporting, and thanks @GeniJaho for #151