Skip to content

Commit

Permalink
add require package and remove useless code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yu Shing committed Nov 21, 2024
1 parent 05b4b51 commit b113bb7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
7 changes: 6 additions & 1 deletion src/broadcasting/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,14 @@
"require": {
"php": "^8.2",
"hyperf/collection": "~3.1.0",
"hyperf/context": "~3.1.0",
"hyperf/contract": "~3.1.0",
"hyperf/http-server": "~3.1.0",
"hyperf/pool": "~3.1.0",
"hyperf/redis": "~3.1.0",
"hyperf/stringable": "~3.1.0",
"swooletw/hyperf-auth": "dev-master",
"swooletw/hyperf-cache": "dev-master",
"swooletw/hyperf-foundation": "dev-master",
"swooletw/hyperf-framework": "dev-master",
"swooletw/hyperf-router": "dev-master",
"swooletw/hyperf-support": "dev-master",
Expand Down
6 changes: 0 additions & 6 deletions src/broadcasting/src/Broadcasters/Broadcaster.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
use SwooleTW\Hyperf\Broadcasting\Contracts\HasBroadcastChannel;
use SwooleTW\Hyperf\HttpMessage\Exceptions\AccessDeniedHttpException;
use SwooleTW\Hyperf\Router\Contracts\UrlRoutable;
use SwooleTW\Hyperf\Router\Router;
use SwooleTW\Hyperf\Support\Reflector;

abstract class Broadcaster implements BroadcasterContract
Expand All @@ -43,11 +42,6 @@ abstract class Broadcaster implements BroadcasterContract
*/
protected array $channelOptions = [];

/**
* The binding registrar instance.
*/
protected Router $bindingRegistrar;

/**
* Resolve the authenticated user payload for the incoming connection request.
*
Expand Down

0 comments on commit b113bb7

Please sign in to comment.