diff options
Diffstat (limited to 'lib/Minz/Request.php')
| -rw-r--r-- | lib/Minz/Request.php | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/lib/Minz/Request.php b/lib/Minz/Request.php index c5adb02e1..af2ba1243 100644 --- a/lib/Minz/Request.php +++ b/lib/Minz/Request.php @@ -8,20 +8,17 @@ * Request représente la requête http */ class Minz_Request { - /** @var string */ - private static $controller_name = ''; - /** @var string */ - private static $action_name = ''; + + private static string $controller_name = ''; + private static string $action_name = ''; /** @var array<string,mixed> */ - private static $params = array(); + private static array $params = []; - /** @var string */ - private static $default_controller_name = 'index'; - /** @var string */ - private static $default_action_name = 'index'; + private static string $default_controller_name = 'index'; + private static string $default_action_name = 'index'; /** @var array{'c'?:string,'a'?:string,'params'?:array<string,mixed>} */ - private static $originalRequest = []; + private static array $originalRequest = []; /** * Getteurs |
