@@ -26,9 +26,9 @@ |
||
26 | 26 | public function toNative($input) |
27 | 27 | { |
28 | 28 | if ($input instanceof ValueObjectInterface) { |
29 | - return !! $input->toNative(); |
|
29 | + return !!$input->toNative(); |
|
30 | 30 | } |
31 | - return !! $input; |
|
31 | + return !!$input; |
|
32 | 32 | } |
33 | 33 | |
34 | 34 | public function fromMissingValue() |
@@ -17,11 +17,11 @@ |
||
17 | 17 | public function __construct(string $fieldName, TypeUtilInterface $typeUtil, $input) |
18 | 18 | { |
19 | 19 | $this->fieldName = $fieldName; |
20 | - $type = get_debug_type($input); |
|
20 | + $type = get_debug_type($input); |
|
21 | 21 | if (is_array($input)) { |
22 | 22 | $type = json_encode($input); |
23 | 23 | } |
24 | - $message = 'Wrong input for field "' . $fieldName . '" expect '. $typeUtil . ' got ' . $type; |
|
24 | + $message = 'Wrong input for field "' . $fieldName . '" expect ' . $typeUtil . ' got ' . $type; |
|
25 | 25 | parent::__construct(422, $message); |
26 | 26 | } |
27 | 27 |