Fixing php strict standard warning