Completed
Pull Request — 1.x (#5)
by Dorian
01:59
created
src/Parser/FloatParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
         if ($rawValue === null || $rawValue === '') {
20 20
             return null;
21 21
         }
22
-        if(!is_float($rawValue) && !is_int($rawValue) && !is_numeric($rawValue)) {
22
+        if (!is_float($rawValue) && !is_int($rawValue) && !is_numeric($rawValue)) {
23 23
             $this->throw();
24 24
         }
25 25
         return floatval($rawValue);
Please login to merge, or discard this patch.
src/Parser/DateTimeParser.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
     /** @var null|string */
12 12
     private $format;
13 13
     public function getFormat() { return $this->format; }
14
-    public function setFormat(?string $format) { $this->format = $format; }
14
+    public function setFormat(? string $format) { $this->format = $format; }
15 15
 
16 16
     /** @var bool */
17 17
     private $ignoreWarnings;
Please login to merge, or discard this patch.