Skip to content

Commit e96f01d

Browse files
committed
Fix typo and Update README
1 parent c0b8473 commit e96f01d

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ Options:
8888
--config-path[=CONFIG-PATH] Setting the Swoole config file path
8989
--properties-path[=PROPERTIES-PATH] Setting the Properties config file path
9090
-U, --unsubscribe[=UNSUBSCRIBE] Topics that need to be unsubscribed (multiple values allowed)
91+
-e, --event[=EVENT] Subscribed EventDispatcher [default: ""]
9192
-h, --help Display help for the given command. When no command is given display help for the list command
9293
-q, --quiet Do not output any message
9394
-V, --version Display this application version

src/Handler/SubscribeHandler.php

-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@ public function handle(InputInterface $input, OutputInterface $output): int
105105
$this->log(json_encode($buffer));
106106
$event = $this->getEvent();
107107
if (!empty($event) && class_exists($event)) {
108-
echo 'sas';
109108
(new EventDispatcher())->dispatch(new $event($client, $input, $output));
110109
}
111110
}

0 commit comments

Comments
 (0)