Passed
Pull Request — master (#8)
by Alex
17:04
created
src/Metadata/Typecaster.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -81,15 +81,15 @@
 block discarded – undo
81 81
 
82 82
         switch ($type) {
83 83
             case 'string':
84
-                return (string)$value;
84
+                return (string) $value;
85 85
             case 'integer':
86 86
             case 'smallint':
87
-                return (int)$value;
87
+                return (int) $value;
88 88
             case 'boolean':
89
-                return (bool)$value;
89
+                return (bool) $value;
90 90
             case 'decimal':
91 91
             case 'float':
92
-                return (float)$value;
92
+                return (float) $value;
93 93
             case 'date':
94 94
                 if ($value && $castDateTime) {
95 95
                     $value = $this->dateTimeFactory->createFromFormat($format ?? 'Y-m-d', $value);
Please login to merge, or discard this patch.