Passed
Push — master ( 0dcf09...9d1be2 )
by Adrien
13:36
created
tests/Blog/Model/User.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     #[ORM\OneToMany(targetEntity: 'EcodevTests\Felix\Blog\Model\Post', mappedBy: 'user')]
29 29
     private Collection $posts;
30 30
 
31
-    public function __construct(private MultipleRoles|string $role = 'member')
31
+    public function __construct(private MultipleRoles | string $role = 'member')
32 32
     {
33 33
     }
34 34
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
         $this->name = $name;
43 43
     }
44 44
 
45
-    public function getRole(): string|MultipleRoles
45
+    public function getRole(): string | MultipleRoles
46 46
     {
47 47
         return $this->role;
48 48
     }
Please login to merge, or discard this patch.