Issues (11)

config/di.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
use Yiisoft\Router\RouteCollector;
6
use Yiisoft\Router\RouteCollectorInterface;
7
use Yiisoft\Router\CurrentRoute;
8
9
return [
10
    RouteCollectorInterface::class => RouteCollector::class,
11
    CurrentRoute::class => [
12
        'reset' => function () {
13
            $this->route = null;
0 ignored issues
show
Comprehensibility Best Practice introduced by
The variable $this seems to be never defined.
Loading history...
14
            $this->uri = null;
15
            $this->arguments = [];
16
        },
17
    ],
18
];
19