Skip to content

Commit

Permalink
PSR specification is preferred (#5025)
Browse files Browse the repository at this point in the history
  • Loading branch information
assert6 authored Aug 17, 2022
1 parent d606f7b commit 7e666bf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"ext-swoole": ">=4.4",
"hyperf/di": "~3.0.0",
"hyperf/redis": "~3.0.0",
"hyperf/websocket-server": "~3.0.0"
"hyperf/websocket-server": "~3.0.0",
"psr/container": "^1.0|^2.0"
},
"suggest": {
"hyperf/command": "Required to use RemoveRedisGarbage command",
Expand Down
2 changes: 1 addition & 1 deletion src/Listener/AddRouteListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
namespace Hyperf\SocketIOServer\Listener;

use Hyperf\Contract\ConfigInterface;
use Hyperf\Contract\ContainerInterface;
use Hyperf\Event\Contract\ListenerInterface;
use Hyperf\Framework\Event\BeforeMainServerStart;
use Hyperf\Framework\Event\BootApplication;
use Hyperf\HttpServer\Router\DispatcherFactory;
use Hyperf\Server\ServerInterface;
use Hyperf\SocketIOServer\SocketIO;
use Psr\Container\ContainerInterface;

class AddRouteListener implements ListenerInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/SidProvider/SessionSidProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
namespace Hyperf\SocketIOServer\SidProvider;

use Hyperf\Contract\ConfigInterface;
use Hyperf\Contract\ContainerInterface;
use Hyperf\Contract\SessionInterface;
use Hyperf\Session\Session;
use Hyperf\SocketIOServer\SocketIO;
use Psr\Container\ContainerInterface;
use SessionHandlerInterface;

class SessionSidProvider implements SidProviderInterface
Expand Down

0 comments on commit 7e666bf

Please sign in to comment.