Code:
$finder = $this->app->finder('XFRM:ResourceItem');
$resources = $finder
->where('icon_date', '<', \XF::$time)
->order('icon_date', 'ASC')
->limit('5')
->fetch();
Because PHPSTORM/XDEBUG never reach the next BREAKPOINT; something should be wrong in the code above.
In a normal php i just do an echo to have my query. But here?
What can i do, please?
(the error was ->limit('5') instead of ->limit(5) - but is there any way to show the query itself?