From 75ece38425394520de954bca36a8d2fb3cc00c47 Mon Sep 17 00:00:00 2001 From: Marcel Pociot Date: Fri, 6 Oct 2017 20:54:05 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/AmazonAlexaDriver.php | 4 ++-- src/Extensions/Card.php | 4 ++-- tests/AmazonAlexaDriverTest.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/AmazonAlexaDriver.php b/src/AmazonAlexaDriver.php index 1819d28..41f5590 100644 --- a/src/AmazonAlexaDriver.php +++ b/src/AmazonAlexaDriver.php @@ -6,11 +6,11 @@ use Illuminate\Support\Collection; use BotMan\BotMan\Drivers\HttpDriver; use BotMan\BotMan\Messages\Incoming\Answer; -use BotMan\BotMan\Messages\Outgoing\Question; use Alexa\Response\Response as AlexaResponse; +use BotMan\BotMan\Messages\Outgoing\Question; use Symfony\Component\HttpFoundation\Request; -use Symfony\Component\HttpFoundation\Response; use BotMan\BotMan\Drivers\Events\GenericEvent; +use Symfony\Component\HttpFoundation\Response; use BotMan\Drivers\AmazonAlexa\Extensions\Card; use BotMan\BotMan\Interfaces\DriverEventInterface; use BotMan\BotMan\Messages\Incoming\IncomingMessage; diff --git a/src/Extensions/Card.php b/src/Extensions/Card.php index 729143f..74fb296 100644 --- a/src/Extensions/Card.php +++ b/src/Extensions/Card.php @@ -108,7 +108,7 @@ public function image($large, $small = null) { $this->image = [ 'smallImageUrl' => $small ?? $large, - 'largeImageUrl' => $large + 'largeImageUrl' => $large, ]; return $this; @@ -147,4 +147,4 @@ public function render() 'image' => $this->image, ]); } -} \ No newline at end of file +} diff --git a/tests/AmazonAlexaDriverTest.php b/tests/AmazonAlexaDriverTest.php index 4c28e44..1ebd0ad 100644 --- a/tests/AmazonAlexaDriverTest.php +++ b/tests/AmazonAlexaDriverTest.php @@ -18,7 +18,7 @@ class AmazonAlexaDriverTest extends PHPUnit_Framework_TestCase private function getDriver($responseData, $htmlInterface = null) { $request = Request::create('', 'POST', [], [], [], [ - 'Content-Type: application/json' + 'Content-Type: application/json', ], $responseData); if ($htmlInterface === null) { $htmlInterface = m::mock(Curl::class);