update composer

This commit is contained in:
2024-09-07 05:23:12 +05:00
parent 701742112b
commit 0404051f7d
5 changed files with 204 additions and 120 deletions

View File

@@ -17,7 +17,15 @@ class DowranAgaAllowed implements ValidationRule
$pattern = "/^[a-zA-Z0-9\s\(\)\"\'\-\žŽäÄňŇöÖşŞüÜçÇýÝ\/,.]+$/u";
if (! preg_match($pattern, $value)) {
$fail(__('Write a correct data please'));
$fail($this->message());
}
}
/**
* Message
*/
public function message(): string
{
return __('Write a correct data please');
}
}