Code style tweaks to satisfy PHPStan

This commit is contained in:
Alex Cabal 2020-12-08 14:32:53 -06:00
parent 658db66c2b
commit 5c4617d759
6 changed files with 19 additions and 6 deletions

View file

@ -26,6 +26,9 @@ class HttpInput{
return self::GetHttpVar($variable, HTTP_VAR_DEC, GET, $default);
}
/**
* @return array<string>
*/
public static function GetArray(string $variable, array $default = null): ?array{
return self::GetHttpVar($variable, HTTP_VAR_ARRAY, GET, $default);
}