Make walker PHP strict compliant