@@ -50,8 +50,9 @@ |
||
| 50 | 50 | return $this->transformSingleEntity($data); |
| 51 | 51 | } |
| 52 | 52 | |
| 53 | - if (is_array($data)) |
|
| 54 | - return $data; |
|
| 53 | + if (is_array($data)) { |
|
| 54 | + return $data; |
|
| 55 | + } |
|
| 55 | 56 | |
| 56 | 57 | $return = []; |
| 57 | 58 | $data = explode('#&#', $data); |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
| 9 | 9 | use Symfony\Component\Filesystem\Filesystem; |
| 10 | 10 | use Symfony\Component\HttpFoundation\File\Exception\UploadException; |
| 11 | -use Symfony\Component\HttpFoundation\File\UploadedFile; |
|
| 12 | 11 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 13 | 12 | use Symfony\Component\HttpFoundation\Request; |
| 14 | 13 | use Symfony\Component\HttpFoundation\Response; |