We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf6114a commit 7d7b7f7Copy full SHA for 7d7b7f7
src/Rules/ValidJalaliDate.php
@@ -41,7 +41,7 @@ protected function checkValidDate(string $year, string $month, string $day): boo
41
{
42
return ($year >= -61 && $year <= 3177)
43
&& ($month >= 1 && $month <= 12)
44
- && $day >= 1 && $day <= $this->jalaliMonthLength((int)$month);
+ && $day >= 1 && $day <= $this->jalaliMonthLength((int) $month);
45
}
46
47
/**
0 commit comments