diff --git a/system/Controller.php b/system/Controller.php index 3707557dfa4a..6584980f9d2b 100644 --- a/system/Controller.php +++ b/system/Controller.php @@ -11,7 +11,9 @@ namespace CodeIgniter; +use CodeIgniter\HTTP\CLIRequest; use CodeIgniter\HTTP\Exceptions\HTTPException; +use CodeIgniter\HTTP\IncomingRequest; use CodeIgniter\HTTP\RequestInterface; use CodeIgniter\HTTP\ResponseInterface; use CodeIgniter\Validation\Exceptions\ValidationException; @@ -34,7 +36,8 @@ class Controller /** * Instance of the main Request object. * - * @var RequestInterface + * @phpstan-ignore-next-line + * @var RequestInterface&CLIRequest&IncomingRequest */ protected $request;