@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\Quickstart\Shared\Controller; |
4 | 4 |
@@ -48,7 +48,8 @@ |
||
48 | 48 | { |
49 | 49 | try { |
50 | 50 | $command = $this->serializer->deserialize((string) $request->getBody(), $commandClass, parent::JSON_FORMAT); |
51 | - } catch (SerializerException $exception) { |
|
51 | + } |
|
52 | + catch (SerializerException $exception) { |
|
52 | 53 | throw new BadRequestException("Invalid request body", Httpstatuscodes::HTTP_BAD_REQUEST, $exception); |
53 | 54 | } |
54 | 55 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | namespace Simplex\Quickstart\Shared\Testing; |
4 | 4 |