Fix PHP strict mode error