优化代码
parent
6dc7f20da7
commit
7953386cd6
|
@ -21,7 +21,7 @@ use Hyperf\Redis\Redis;
|
|||
*
|
||||
* @return \Psr\Container\ContainerInterface
|
||||
*/
|
||||
function container(string $service = '')
|
||||
function container()
|
||||
{
|
||||
return ApplicationContext::getContainer();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue