mirror of
https://github.com/standardebooks/web.git
synced 2025-07-09 16:20:27 -04:00
Update PropertiesBase to new patterns and improve static analysis checks
This commit is contained in:
parent
5f0b57f7e9
commit
6c8414f844
33 changed files with 335 additions and 148 deletions
|
@ -52,8 +52,10 @@ class HttpInput{
|
|||
}
|
||||
|
||||
/**
|
||||
* @return array<string>
|
||||
*/
|
||||
* @param string $variable
|
||||
* @param array<mixed> $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