@@ -143,6 +143,9 @@ |
||
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; |
@@ -107,6 +107,9 @@ |
||
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) { |