mirror of
https://github.com/standardebooks/web.git
synced 2025-07-05 22:30:30 -04:00
Code style tweaks to satisfy PHPStan
This commit is contained in:
parent
658db66c2b
commit
5c4617d759
6 changed files with 19 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue