📢 Moderators Needed 🚀

Moderators are needed with resources to post or have access to resources to post. Submit an application to be considered.
K

RSS xf-dev:generate-finders uses FQCN for entity class in DocBlock

K

Kirby

Guest
Guest or Bot
PHP:

Code:
/**
 * @method AbstractCollection<$fqEntityClass> fetch(?int \$limit = null, ?int \$offset = null)
 * @method AbstractCollection<$fqEntityClass> fetchDeferred(?int \$limit = null, ?int \$offset = null)
 * @method $fqEntityClass|null fetchOne(?int \$offset = null)
 * @extends Finder<$fqEntityClass>
 */

This makes the lines kinda long and seems inconsistent with itself (AbstractCollection is not FQCN) and @var used in other DocBlocks which (usually) doesn't use FQCN...

Read more

Continue reading...
 
Similar content Most view View more
Back
Top