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
- 25,996
- Points
- 823
Reputation:
XF\Mvc\Entity\Entity
is defined as;PHP:
Code:
public static function getStructure(Structure $structure)
{
throw new \LogicException(static::class . '::getStructure() must be overridden');
}
This generates a false positive for phpstorm's "Missing parent call for method" inspector.
However php v7.0+ supports just marking it as abstract:
PHP:
abstract public static function getStructure(Structure $structure);
Technically this would be a breaking change, but an 3rd party Entity which...
Read more
Continue reading...