@@ -112,12 +112,12 @@ discard block |
||
| 112 | 112 | return $this->login; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | - public function getName(): ?string |
|
| 115 | + public function getName(): ? string |
|
| 116 | 116 | { |
| 117 | 117 | return $this->name; |
| 118 | 118 | } |
| 119 | 119 | |
| 120 | - public function updateLoginAndName(string $login, ?string $name): self |
|
| 120 | + public function updateLoginAndName(string $login, ? string $name) : self |
|
| 121 | 121 | { |
| 122 | 122 | $this->login = $login; |
| 123 | 123 | $this->name = $name; |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | return $this->createdAt; |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | - public function getUpdatedAt(): ?\DateTime |
|
| 176 | + public function getUpdatedAt(): ? \DateTime |
|
| 177 | 177 | { |
| 178 | 178 | return $this->updatedAt; |
| 179 | 179 | } |
@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | $this->getEntityManager()->persist($entity); |
| 14 | 14 | } |
| 15 | 15 | |
| 16 | - public function findActiveUserWithSubscribers(int $id): ?User |
|
| 16 | + public function findActiveUserWithSubscribers(int $id): ? User |
|
| 17 | 17 | { |
| 18 | 18 | $qb = $this->createQueryBuilder('u'); |
| 19 | 19 | |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | /** |
| 33 | 33 | * Case-insensitive user search |
| 34 | 34 | */ |
| 35 | - public function findUserByLogin(string $login): ?User |
|
| 35 | + public function findUserByLogin(string $login): ? User |
|
| 36 | 36 | { |
| 37 | 37 | $qb = $this->createQueryBuilder('u'); |
| 38 | 38 | |