Skip to content

Commit

Permalink
Fix typo and Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
sy-records committed Apr 13, 2021
1 parent c0b8473 commit e96f01d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ Options:
--config-path[=CONFIG-PATH] Setting the Swoole config file path
--properties-path[=PROPERTIES-PATH] Setting the Properties config file path
-U, --unsubscribe[=UNSUBSCRIBE] Topics that need to be unsubscribed (multiple values allowed)
-e, --event[=EVENT] Subscribed EventDispatcher [default: ""]
-h, --help Display help for the given command. When no command is given display help for the list command
-q, --quiet Do not output any message
-V, --version Display this application version
Expand Down
1 change: 0 additions & 1 deletion src/Handler/SubscribeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ public function handle(InputInterface $input, OutputInterface $output): int
$this->log(json_encode($buffer));
$event = $this->getEvent();
if (!empty($event) && class_exists($event)) {
echo 'sas';
(new EventDispatcher())->dispatch(new $event($client, $input, $output));
}
}
Expand Down

0 comments on commit e96f01d

Please sign in to comment.