@@ -13,7 +13,6 @@ |
||
| 13 | 13 | use IrishDan\ResponsiveImageBundle\Event\UploaderEvent; |
| 14 | 14 | use IrishDan\ResponsiveImageBundle\Event\UploaderEvents; |
| 15 | 15 | use League\Flysystem\FilesystemInterface; |
| 16 | - |
|
| 17 | 16 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
| 18 | 17 | |
| 19 | 18 | /** |
@@ -39,9 +39,9 @@ |
||
| 39 | 39 | $guessedFileExtension = strtolower($file->guessExtension()); |
| 40 | 40 | |
| 41 | 41 | if (!in_array($guessedFileExtension, $this->allowedTypes)) { |
| 42 | - $this->errors[] = 'Files of "' . $guessedFileExtension . '" type are not allowed'; |
|
| 42 | + $this->errors[] = 'Files of "' . $guessedFileExtension . '" type are not allowed'; |
|
| 43 | 43 | |
| 44 | - return false; |
|
| 44 | + return false; |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | if (!in_array($fileExtension, $this->allowedTypes)) { |