Fixed php strict error