From d3bf48b3cba5f6222b4343de304f4639029cc7fa Mon Sep 17 00:00:00 2001 From: Ehsan Abbasi Date: Wed, 13 Dec 2017 01:22:17 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Botonomous/AbstractBot.php | 1 + src/Botonomous/BotonomousException.php | 1 - src/Botonomous/listener/EventListener.php | 2 +- tests/Botonomous/listener/EventListenerTest.php | 1 - 4 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Botonomous/AbstractBot.php b/src/Botonomous/AbstractBot.php index c92c0fd..3cc0853 100644 --- a/src/Botonomous/AbstractBot.php +++ b/src/Botonomous/AbstractBot.php @@ -31,6 +31,7 @@ abstract class AbstractBot /** * @param null $key + * * @return mixed */ abstract public function getRequest($key = null); diff --git a/src/Botonomous/BotonomousException.php b/src/Botonomous/BotonomousException.php index 57eca99..da895a6 100644 --- a/src/Botonomous/BotonomousException.php +++ b/src/Botonomous/BotonomousException.php @@ -4,5 +4,4 @@ class BotonomousException extends \Exception { - } diff --git a/src/Botonomous/listener/EventListener.php b/src/Botonomous/listener/EventListener.php index 7da7f43..b711657 100644 --- a/src/Botonomous/listener/EventListener.php +++ b/src/Botonomous/listener/EventListener.php @@ -13,7 +13,7 @@ class EventListener extends AbstractBaseListener { const KEY = 'event'; const MISSING_TOKEN_OR_APP_ID_MESSAGE = 'Token or api_app_id is not provided'; - const MISSING_APP_ID_MESSAGE = 'Api app id must be provided'; + const MISSING_APP_ID_MESSAGE = 'Api app id must be provided'; const MISSING_VERIFICATION_TOKEN_MESSAGE = 'Verification token must be provided'; const MISSING_EVENT_TYPE_MESSAGE = 'Event type must be specified'; diff --git a/tests/Botonomous/listener/EventListenerTest.php b/tests/Botonomous/listener/EventListenerTest.php index cc06650..800c34b 100644 --- a/tests/Botonomous/listener/EventListenerTest.php +++ b/tests/Botonomous/listener/EventListenerTest.php @@ -4,7 +4,6 @@ use Botonomous\Config; use Botonomous\Event; -use Botonomous\utility\FileUtility; use Botonomous\utility\RequestUtility; use PHPUnit\Framework\TestCase;