fixes declaration warning in php5.4