Fixed strict error on PHP 5.4 compatibility

Just a small change to get rid of the notification errors on PHP 5.4