Fix limitation of empty() in PHP versions below 5.5
Fix limitation of empty() in PHP versions below 5.5

mdzzohrabi/APYDataGridBundle,APY/APYDataGridBundle,tomcyr/APYDataGridBundle,Abhoryo/APYDataGridBundle,mdzzohrabi/APYDataGridBundle,sygnisoft/APYDataGridBundle,unrealevil/GvnGridBundle,qferr/APYDataGridBundle,unrealevil/GvnGridBundle,Abhoryo/APYDataGridBundle,tamago-db/APYDataGridBundle,qferr/APYDataGridBundle