@@ -5,7 +5,7 @@ |
||
| 5 | 5 | |
| 6 | 6 | use Symfony\Component\HttpFoundation\File\File; |
| 7 | 7 | |
| 8 | -interface FileLoaderInterface{ |
|
| 8 | +interface FileLoaderInterface { |
|
| 9 | 9 | |
| 10 | 10 | public function setFile(File $file) : FileLoaderInterface; |
| 11 | 11 | public function getIteration(); |
@@ -6,7 +6,7 @@ discard block |
||
| 6 | 6 | use Symfony\Component\HttpFoundation\File\File; |
| 7 | 7 | use Symfony\Component\Process\Exception\InvalidArgumentException; |
| 8 | 8 | |
| 9 | -class CsvFileLoader implements FileLoaderInterface{ |
|
| 9 | +class CsvFileLoader implements FileLoaderInterface { |
|
| 10 | 10 | |
| 11 | 11 | /** @var File $file */ |
| 12 | 12 | protected $file = null; |
@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | } |
| 18 | 18 | |
| 19 | 19 | public function getIteration() { |
| 20 | - if(!$this->file){ |
|
| 20 | + if (!$this->file) { |
|
| 21 | 21 | throw new InvalidArgumentException('File not found'); |
| 22 | 22 | } |
| 23 | 23 | |