Passed
Pull Request — master (#4523)
by Saiful
15:28
created
src/PhpSpreadsheet/Cell/DefaultValueBinder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,9 +30,9 @@  discard block
 block discarded – undo
30 30
         } elseif ($value instanceof DateTimeInterface) {
31 31
             $value = $value->format('Y-m-d H:i:s');
32 32
         } elseif ($value instanceof Stringable) {
33
-            $value = (string)$value;
33
+            $value = (string) $value;
34 34
         } else {
35
-            throw new SpreadsheetException('Unable to bind unstringable '.gettype($value));
35
+            throw new SpreadsheetException('Unable to bind unstringable ' . gettype($value));
36 36
         }
37 37
 
38 38
         // Set value explicit
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             return DataType::TYPE_INLINE;
65 65
         }
66 66
         if ($value instanceof Stringable) {
67
-            $value = (string)$value;
67
+            $value = (string) $value;
68 68
         }
69 69
         if (!is_string($value)) {
70 70
             $gettype = is_object($value) ? get_class($value) : gettype($value);
Please login to merge, or discard this patch.