mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-12-04 20:58:13 +08:00
Update CoreMiddleware.php
This commit is contained in:
parent
a4313755ae
commit
8a0e4e3440
@ -106,11 +106,7 @@ class CoreMiddleware implements MiddlewareInterface
|
||||
return $this->normalizer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $serverName
|
||||
* @return Dispatcher
|
||||
*/
|
||||
protected function createDispatcher(string $serverName)
|
||||
protected function createDispatcher(string $serverName): Dispatcher
|
||||
{
|
||||
$factory = $this->container->get(DispatcherFactory::class);
|
||||
return $factory->getDispatcher($serverName);
|
||||
|
Loading…
Reference in New Issue
Block a user