@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Application\Entity; |
4 | 4 | |
5 | -use Doctrine\ORM\Mapping as ORM; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * Abstract Meta |
9 | 7 | * |
@@ -251,7 +251,7 @@ |
||
251 | 251 | |
252 | 252 | /*** Birthdate ***/ |
253 | 253 | /** |
254 | - * @return string |
|
254 | + * @return \DateTime |
|
255 | 255 | */ |
256 | 256 | public function getBirthdate() |
257 | 257 | { |
@@ -678,7 +678,7 @@ discard block |
||
678 | 678 | */ |
679 | 679 | public function isCredentialsNonExpired() |
680 | 680 | { |
681 | - return ! $this->getExpired(); |
|
681 | + return !$this->getExpired(); |
|
682 | 682 | } |
683 | 683 | |
684 | 684 | /*** Roles ***/ |
@@ -772,7 +772,7 @@ discard block |
||
772 | 772 | */ |
773 | 773 | public function isEqualTo(AdvancedUserInterface $user) |
774 | 774 | { |
775 | - if (! $user instanceof AdvancedUserInterface) { |
|
775 | + if (!$user instanceof AdvancedUserInterface) { |
|
776 | 776 | return false; |
777 | 777 | } |
778 | 778 |