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

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
28,643
Points
823

Reputation:

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...
 
Status
Not open for further replies.
Top