Passed
Branch master (e82ffc)
by Lucas de
01:47
created
src/CopyObjectAttributesValues.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.