X
Xon
Guest
Guest or Bot
getFinder() support Entity/Finder class references, but it does this by calling \XF::classToString() twice.The problem is the 1st call throws an
InvalidArgumentException exception, this is an issue for two reasons;- When a debugger is attached via xdebug (aka phpstorm) this pauses execution,
InvalidArgumentExceptionis used elsewhere so just ignoring this exception type isn't great. - Exceptions are significantly more expensive than a simple string check as...
Read more
Continue reading...