From 882c35b0ee72cd1abf46066a80fc2c60ba1ac73b Mon Sep 17 00:00:00 2001 From: Derek McDaniel Date: Wed, 1 Feb 2017 22:54:28 -0500 Subject: [PATCH] Issue #3 - Fixed issue with tabing --- Plugin.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Plugin.php b/Plugin.php index a7d6d96..55955ca 100644 --- a/Plugin.php +++ b/Plugin.php @@ -28,7 +28,7 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi return true; } - public function run() + public function run() { $dispatcher = EventDispatcher::getInstance(); $dispatcher->attachListener(Events::THREAD_CREATE, $this, 'sendSlackNotification'); @@ -37,9 +37,9 @@ class Plugin extends \Mibew\Plugin\AbstractPlugin implements \Mibew\Plugin\Plugi public function sendSlackNotification(&$args) { $settings = [ - 'username' => $this->config['username'], - 'channel' => '#' . $this->config['channel'], - 'link_names' => true + 'username' => $this->config['username'], + 'channel' => '#' . $this->config['channel'], + 'link_names' => true ]; $client = new Client($this->config['slack_url'], $settings);