Passed
Push — 7.x ( 42e260...f51c13 )
by Adrien
09:26
created
SplEnumUnitTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     {
53 53
         parent::__unserialize($data);
54 54
 
55
-        $this->name = (string) $data['name'];
55
+        $this->name = (string)$data['name'];
56 56
     }
57 57
 
58 58
     /**
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
          */
75 75
         // @phpstan-ignore-next-line
76 76
         $object = /** @scrutinizer ignore-call */ new static();
77
-        $object->name = (string) $properties['name'];
77
+        $object->name = (string)$properties['name'];
78 78
 
79 79
         return $object;
80 80
     }
Please login to merge, or discard this patch.