From d8bcafc1599cbbc7756b0a59f51ee988a2de0f2e Mon Sep 17 00:00:00 2001 From: whisller Date: Wed, 31 Oct 2012 21:04:17 +0000 Subject: [PATCH] Small changes in comments. --- EventListener/Irc/Messages/PrivMsgListener.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/EventListener/Irc/Messages/PrivMsgListener.php b/EventListener/Irc/Messages/PrivMsgListener.php index cdc4386..a375de3 100644 --- a/EventListener/Irc/Messages/PrivMsgListener.php +++ b/EventListener/Irc/Messages/PrivMsgListener.php @@ -18,8 +18,9 @@ class PrivMsgListener extends BaseIrcListener private $botCommandPrefix; /** - * @param ConnectionInterface $dispatcher + * @param ConnectionInterface $connection * @param EventDispatcherInterface $dispatcher + * @param string $botCommandPrefix */ public function __construct(ConnectionInterface $connection, EventDispatcherInterface $dispatcher, $botCommandPrefix) { @@ -29,7 +30,8 @@ public function __construct(ConnectionInterface $connection, EventDispatcherInte } /** - * @param BaseIrcEvent $event + * @param IrcCommandFoundEvent $event + * @return void */ public function onData(IrcCommandFoundEvent $event) { @@ -51,7 +53,7 @@ public function onData(IrcCommandFoundEvent $event) * Check if message from server has a bot command. * * @param string $message - * @return array if is bot command false otherwise + * @return array|false if is bot command false otherwise */ private function isBotCommand($message) { @@ -59,4 +61,4 @@ private function isBotCommand($message) return $matches; } -} \ No newline at end of file +}