@@ -19,7 +19,7 @@ |
||
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); |
@@ -11,7 +11,7 @@ |
||
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; |