fixed strict warning in php54
fixed strict warning in php54