mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix whitespace error.
This commit is contained in:
parent
01be15d654
commit
44b7d013ae
1 changed files with 1 additions and 1 deletions
|
@ -331,7 +331,7 @@ class Validation {
|
|||
$separator . '((1[6-9]|[2-9]\\d)\\d{2})$%';
|
||||
|
||||
$regex['my'] = '%^(' . $month . $separator . $year . ')$%';
|
||||
$regex['ym'] = '%^(' . $year . $separator . $month . ')$%';
|
||||
$regex['ym'] = '%^(' . $year . $separator . $month . ')$%';
|
||||
$regex['y'] = '%^(' . $fourDigitYear . ')$%';
|
||||
|
||||
$format = (is_array($format)) ? array_values($format) : array($format);
|
||||
|
|
Loading…
Reference in a new issue