Fixes
- Corrected
ResultSetInterfacearity in generated table@methodannotations. It now emitsResultSetInterface<int, TEntity>(two type params) forsaveMany/saveManyOrFail/deleteMany/deleteManyOrFailreturns, fixingmissingType.genericsunder strict PHPStan. Applies in all modes, including the default. (#455)
Improvements
- Basic generics mode (
IdeHelper.genericsInParamset totrue) no longer leaves params as a barearray. Theget()$finder,findOrCreate()$search, andloadInto()$containparams now carry a generic type, so PHPStorm gets generic info without the detailed shapes it cannot handle. (#454) - Basic generics mode is now strict-PHPStan clean:
findOrCreate()$searchemitsSelectQuery<TEntity>, associative option/condition arrays usearray<string, mixed>, and$containkeeps the loosearray<mixed>for the list form. Thefalseand'detailed'modes are unchanged apart from the arity fix above. (#455)
Full Changelog: 2.19.1...2.19.2