@@ -21,7 +21,7 @@ discard block |
||
21 | 21 | |
22 | 22 | public function to($toObject) : void |
23 | 23 | { |
24 | - if (! is_object($toObject)) { |
|
24 | + if (!is_object($toObject)) { |
|
25 | 25 | throw new \RuntimeException( |
26 | 26 | sprintf('Parameter to "%s::to" must be an object, "%s" given', gettype($toObject), static::class) |
27 | 27 | ); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | |
47 | 47 | public static function from($fromObject) : self |
48 | 48 | { |
49 | - if (! is_object($fromObject)) { |
|
49 | + if (!is_object($fromObject)) { |
|
50 | 50 | throw new \RuntimeException( |
51 | 51 | sprintf('Parameter to "%s::from" must be an object, "%s" given', gettype($fromObject), static::class) |
52 | 52 | ); |