Avoid PHP warning if key is not set in getValidationHash()