forgot to add Validate/Validate to the last commit

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2023-02-07 11:45:57 +01:00
parent 6ace2e9f3d
commit 802168cb5b

View File

@@ -308,7 +308,7 @@ class Validate
* *
* @return bool * @return bool
*/ */
public static function validateSqlInterval(string $interval): bool public static function validateSqlInterval(string $interval = ''): bool
{ {
if (!empty($interval) && strstr($interval, ' ') !== false) { if (!empty($interval) && strstr($interval, ' ') !== false) {
/* /*