Completed
Branch master (0896dd)
by Dan
07:02
created
src/Bot/HelpPlugin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Nopolabs\Yabot\Bot\AbstractPlugin;
5 5
 use Nopolabs\Yabot\Bot\Message;
6
-use Nopolabs\Yabot\Bot\MessageDispatcher;
7 6
 use Nopolabs\Yabot\Bot\MessageInterface;
8 7
 use Nopolabs\Yabot\Yabot;
9 8
 use Psr\Log\LoggerInterface;
Please login to merge, or discard this patch.
src/Bot/PluginTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -143,6 +143,9 @@
 block discarded – undo
143 143
         $this->setConfig($config);
144 144
     }
145 145
 
146
+    /**
147
+     * @param string $pluginId
148
+     */
146 149
     protected function setPluginId($pluginId)
147 150
     {
148 151
         $this->pluginId = $pluginId;
Please login to merge, or discard this patch.
src/Bot/SlackClient.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -107,6 +107,9 @@
 block discarded – undo
107 107
         $this->slack->apiCall('chat.postMessage', $parameters);
108 108
     }
109 109
 
110
+    /**
111
+     * @param string $event
112
+     */
110 113
     public function on($event, array $onMessage)
111 114
     {
112 115
         $this->slack->on($event, function (Payload $payload) use ($onMessage) {
Please login to merge, or discard this patch.
src/Bot/StatusPlugin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 
4 4
 use Nopolabs\Yabot\Bot\AbstractPlugin;
5 5
 use Nopolabs\Yabot\Bot\Message;
6
-use Nopolabs\Yabot\Bot\MessageDispatcher;
7 6
 use Nopolabs\Yabot\Bot\MessageInterface;
8 7
 use Nopolabs\Yabot\Yabot;
9 8
 use Psr\Log\LoggerInterface;
Please login to merge, or discard this patch.