Skip to content

Commit 261f882

Browse files
authored
Apply fixes from StyleCI (#10)
1 parent a409474 commit 261f882

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/WebDriver.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
use BotMan\BotMan\Messages\Attachments\Image;
1212
use BotMan\BotMan\Messages\Attachments\Video;
1313
use BotMan\BotMan\Messages\Outgoing\Question;
14-
use Symfony\Component\HttpFoundation\File\UploadedFile;
1514
use Symfony\Component\HttpFoundation\Request;
1615
use Symfony\Component\HttpFoundation\Response;
1716
use BotMan\BotMan\Messages\Incoming\IncomingMessage;
1817
use BotMan\BotMan\Messages\Outgoing\OutgoingMessage;
18+
use Symfony\Component\HttpFoundation\File\UploadedFile;
1919

2020
class WebDriver extends HttpDriver
2121
{
@@ -228,6 +228,7 @@ protected function addAttachments($incomingMessage)
228228
} else {
229229
$path = $file['tmp_name'];
230230
}
231+
231232
return new Image($this->getDataURI($path));
232233
})->values()->toArray();
233234
$incomingMessage->setText(Image::PATTERN);
@@ -239,6 +240,7 @@ protected function addAttachments($incomingMessage)
239240
} else {
240241
$path = $file['tmp_name'];
241242
}
243+
242244
return new Audio($this->getDataURI($path));
243245
})->values()->toArray();
244246
$incomingMessage->setText(Audio::PATTERN);
@@ -250,6 +252,7 @@ protected function addAttachments($incomingMessage)
250252
} else {
251253
$path = $file['tmp_name'];
252254
}
255+
253256
return new Video($this->getDataURI($path));
254257
})->values()->toArray();
255258
$incomingMessage->setText(Video::PATTERN);

0 commit comments

Comments
 (0)