diff --git a/helpers/utils.php b/helpers/utils.php index 38bca7a..402e06f 100644 --- a/helpers/utils.php +++ b/helpers/utils.php @@ -214,7 +214,7 @@ return self::requestValue($name, $default, $type, FILTER_VALIDATE_INT); } - private static function requestValue($name, $default, $type, $filters = FILTER_DEFAULT, $flags = NULL) { + private static function requestValue($name, $default, $type, $filters = FILTER_DEFAULT, $flags = []) { $input = filter_input($type, $name, $filters, $flags); if ($input !== false && $input !== null) { return $input;