Fix php strict standards errors