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
- 34,408
- Points
- 823
Reputation:
Multiple core entities have incorrect imports, and shortnames causes incorrect docblock hints that resolve to
Diff block for all the affected entities and docblocks:
Diff:
Read more
Continue reading...
\XF\Phrase but should be \XF\Entity\Phrase. There's also a few incorrect return types where Phrase is included when only string is returned.Diff block for all the affected entities and docblocks:
Diff:
Code:
diff --git a/src/XF/Entity/AbstractPrompt.php b/src/XF/Entity/AbstractPrompt.php
--- a/src/XF/Entity/AbstractPrompt.php
+++ b/src/XF/Entity/AbstractPrompt.php...
Read more
Continue reading...