@@ -28,7 +28,7 @@ discard block |
||
| 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 |
||
| 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 | } |