Confirmed Too wide Finder return types from repository functions

Xon

Well-known member
Affected version
2.3.0
Since XenForo now autogenerates finders for entities, a number of older repository function are typehinted to have @return Finder instead of the concrete type.

In most cases the explicit type hint can just be removed, and at best replaced with the actual type return type in the phpdocs
 
Back
Top Bottom