Passed
Branch main (af1ab9)
by Pieter
03:03
created
Category
src/Boolean.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -26,9 +26,9 @@
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/Exceptions/InvalidInputException.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -17,11 +17,11 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.