@@ -97,7 +97,7 @@ |
||
97 | 97 | // take care of the called class |
98 | 98 | $cls = static::class; |
99 | 99 | |
100 | - if (! isset($invalid[$cls][$value])) { |
|
100 | + if (!isset($invalid[$cls][$value])) { |
|
101 | 101 | |
102 | 102 | $inst = new static(); |
103 | 103 | $inst->value = $value; |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function __construct($input, $timezone) |
73 | 73 | { |
74 | - if (! $timezone instanceof \DateTimeZone) { |
|
74 | + if (!$timezone instanceof \DateTimeZone) { |
|
75 | 75 | $timezone = new \DateTimeZone((string) $timezone); |
76 | 76 | } |
77 | 77 | |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | */ |
405 | 405 | public function addInterval($interval) |
406 | 406 | { |
407 | - if (! $interval instanceof \DateInterval) { |
|
407 | + if (!$interval instanceof \DateInterval) { |
|
408 | 408 | $interval = new \DateInterval($interval); |
409 | 409 | } |
410 | 410 | |
@@ -423,7 +423,7 @@ discard block |
||
423 | 423 | */ |
424 | 424 | public function subInterval($interval) |
425 | 425 | { |
426 | - if (! $interval instanceof \DateInterval) { |
|
426 | + if (!$interval instanceof \DateInterval) { |
|
427 | 427 | $interval = new \DateInterval($interval); |
428 | 428 | } |
429 | 429 |