Fixed PHP 5.5 strict warning