Fix php strict warning