Inconsistent function return type hinting

  • Thread starter Thread starter mattrogowski
  • Start date Start date

mattrogowski

Guest
Member
XF\Entity\UserUpgrade::setupApiResultData() has a return type of void, but XF\Mvc\Entity\Entity::setupApiResultData() doesn't and neither do seemingly most other entity classes. It means that any addons that extend XF\Entity\UserUpgrade::setupApiResultData() will break as it's arbitrarily had a return type added.

I can see that XF\Entity\UserUpgrade only had this function added in 2.3.0 Beta 4 so I presume it was an IDE autocomplete or something. It would be...

Read more
Inconsistent function return type hinting

free plugins
minecraft paid for free
mcmarket
mc-market
free minecraft paid plugins
free minecraft plugins
spigotmc
SpigotMC
aac free
ewg free
Minecraft Premium Plugins
ewg free download
litebans free
epicworldgenerator free
free schematics
leaked schematics minecraft
schematics
schematics leaked
schematics free
minecraft schematics free
paid minecraft schematics free
paid minecraft schematics for free
free cracked plugins
free cracked minecraft plugins
plugins
featherboard download
featherboard plugin download
antiaura download
xenforo leaked
xenforo for free
xenforo addons
 
Top