@@ -81,9 +81,9 @@ |
||
81 | 81 | $files = $request->files->all(); |
82 | 82 | try { |
83 | 83 | $entity = $this->uploader->upload($entity, $field, reset($files)); |
84 | - }catch(InvalidArgumentException $exception) { |
|
84 | + } catch(InvalidArgumentException $exception) { |
|
85 | 85 | return new Response($exception->getMessage(), Response::HTTP_BAD_REQUEST); |
86 | - }catch (RuntimeException $exception) { |
|
86 | + } catch (RuntimeException $exception) { |
|
87 | 87 | return new Response($exception->getMessage(), Response::HTTP_INTERNAL_SERVER_ERROR); |
88 | 88 | } |
89 | 89 |