[BUGFIX] Solves PHP warning in FileAllowedTypesValidator