Skip to content

Commit

Permalink
docs: fix @var type to fix PHPStan error
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Oct 22, 2023
1 parent 9ef5330 commit 3216116
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/Router/AutoRouter.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

use Closure;
use CodeIgniter\Exceptions\PageNotFoundException;
use CodeIgniter\HTTP\ResponseInterface;

/**
* Router for Auto-Routing
Expand All @@ -29,7 +30,7 @@ public function __construct(
/**
* List of CLI routes that do not contain '*' routes.
*
* @var array<string, Closure|string> [routeKey => handler]
* @var array<string, Closure(): (ResponseInterface|string|void)|string> [routeKey => handler]
*/
private readonly array $cliRoutes,
/**
Expand Down

0 comments on commit 3216116

Please sign in to comment.