@@ -61,7 +61,7 @@ |
||
| 61 | 61 | |
| 62 | 62 | $object = $this->serializer->deserialize($json, $type, 'json', $context); |
| 63 | 63 | |
| 64 | - if(!$object instanceof $type){ |
|
| 64 | + if (!$object instanceof $type) { |
|
| 65 | 65 | return null; |
| 66 | 66 | } |
| 67 | 67 | |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | |
| 51 | 51 | public function findById($id) |
| 52 | 52 | { |
| 53 | - $content = $this->get('content/' . $id); |
|
| 53 | + $content = $this->get('content/'.$id); |
|
| 54 | 54 | return $this->deserialize( |
| 55 | 55 | $content, |
| 56 | 56 | Content::class |