@@ -17,7 +17,7 @@ discard block |
||
| 17 | 17 | * @param array $context |
| 18 | 18 | * @return ValueObjectInterface |
| 19 | 19 | */ |
| 20 | - public function denormalize($data, $class, $format = null, array $context = []) |
|
| 20 | + public function denormalize($data, $class, $format = null, array $context = [ ]) |
|
| 21 | 21 | { |
| 22 | 22 | return $class::fromNative($data); |
| 23 | 23 | } |
@@ -39,7 +39,7 @@ discard block |
||
| 39 | 39 | * @param array $context |
| 40 | 40 | * @return mixed |
| 41 | 41 | */ |
| 42 | - public function normalize($object, $format = null, array $context = []) |
|
| 42 | + public function normalize($object, $format = null, array $context = [ ]) |
|
| 43 | 43 | { |
| 44 | 44 | return $object->toNative(); |
| 45 | 45 | } |