|
21 | 21 | use CodeIgniter\HTTP\IncomingRequest; |
22 | 22 | use CodeIgniter\HTTP\RedirectResponse; |
23 | 23 | use CodeIgniter\HTTP\Request; |
24 | | -use CodeIgniter\HTTP\RequestInterface; |
25 | 24 | use CodeIgniter\HTTP\ResponseInterface; |
26 | 25 | use CodeIgniter\HTTP\URI; |
27 | 26 | use CodeIgniter\Router\Exceptions\RedirectException; |
@@ -298,10 +297,9 @@ protected function initializeKint() |
298 | 297 | * tries to route the response, loads the controller and generally |
299 | 298 | * makes all of the pieces work together. |
300 | 299 | * |
301 | | - * @throws Exception |
302 | 300 | * @throws RedirectException |
303 | 301 | * |
304 | | - * @return bool|mixed|RequestInterface|ResponseInterface|void |
| 302 | + * @return ResponseInterface|void |
305 | 303 | */ |
306 | 304 | public function run(?RouteCollectionInterface $routes = null, bool $returnResponse = false) |
307 | 305 | { |
@@ -409,7 +407,7 @@ private function isWeb(): bool |
409 | 407 | * @throws PageNotFoundException |
410 | 408 | * @throws RedirectException |
411 | 409 | * |
412 | | - * @return mixed|RequestInterface|ResponseInterface |
| 410 | + * @return ResponseInterface |
413 | 411 | */ |
414 | 412 | protected function handleRequest(?RouteCollectionInterface $routes, Cache $cacheConfig, bool $returnResponse = false) |
415 | 413 | { |
@@ -641,7 +639,7 @@ protected function forceSecureAccess($duration = 31_536_000) |
641 | 639 | * |
642 | 640 | * @throws Exception |
643 | 641 | * |
644 | | - * @return bool|ResponseInterface |
| 642 | + * @return false|ResponseInterface |
645 | 643 | */ |
646 | 644 | public function displayCache(Cache $config) |
647 | 645 | { |
@@ -1069,6 +1067,8 @@ public function spoofRequestMethod() |
1069 | 1067 | /** |
1070 | 1068 | * Sends the output of this request back to the client. |
1071 | 1069 | * This is what they've been waiting for! |
| 1070 | + * |
| 1071 | + * @return void |
1072 | 1072 | */ |
1073 | 1073 | protected function sendResponse() |
1074 | 1074 | { |
|
0 commit comments