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

Status
This content is read-only, or is not open for further replies.

Kirby

Guest
offline
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...
 
Liked by:
Status
This content is read-only, or is not open for further replies.
Top Bottom