Skip to content

Commit

Permalink
Merge pull request #1 from botman/analysis-Xlybvw
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
mpociot authored Oct 6, 2017
2 parents 677c21a + 75ece38 commit ed1abc4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/AmazonAlexaDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/Extensions/Card.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function image($large, $small = null)
{
$this->image = [
'smallImageUrl' => $small ?? $large,
'largeImageUrl' => $large
'largeImageUrl' => $large,
];

return $this;
Expand Down Expand Up @@ -147,4 +147,4 @@ public function render()
'image' => $this->image,
]);
}
}
}
2 changes: 1 addition & 1 deletion tests/AmazonAlexaDriverTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ed1abc4

Please sign in to comment.