Skip to content

Commit 6e2464d

Browse files
authored
Adapt to yiisoft/middleware-dispatcher (#138)
1 parent c93aab6 commit 6e2464d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"yiisoft/log-target-file": "^2.0",
5454
"yiisoft/request-body-parser": "^1.1",
5555
"yiisoft/request-model": "^1.0@dev",
56-
"yiisoft/router": "^1.0",
56+
"yiisoft/router": "^1.2",
5757
"yiisoft/router-fastroute": "^1.0",
5858
"yiisoft/security": "^1.0",
5959
"yiisoft/user": "^1.0",

config/web/middleware-dispatcher.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22

33
declare(strict_types=1);
44

5-
use Yiisoft\Middleware\Dispatcher\MiddlewareFactoryInterface;
6-
use Yiisoft\RequestModel\MiddlewareFactory;
5+
use Yiisoft\Middleware\Dispatcher\WrapperFactoryInterface;
6+
use Yiisoft\RequestModel\WrapperFactory;
77

88
/**
99
* @var array $params
1010
*/
1111

1212
return [
13-
MiddlewareFactoryInterface::class => MiddlewareFactory::class,
13+
WrapperFactoryInterface::class => WrapperFactory::class,
1414
];

0 commit comments

Comments
 (0)