@@ -33,6 +33,7 @@ discard block |
||
| 33 | 33 | * @param TokenStorageInterface $tokenStorage |
| 34 | 34 | * @param CurrentDateTimeProvider $dateTimeProvider |
| 35 | 35 | * @param EntityManager $entityManager |
| 36 | + * @param string $userClass |
|
| 36 | 37 | */ |
| 37 | 38 | public function __construct( |
| 38 | 39 | TokenStorageInterface $tokenStorage, |
@@ -209,7 +210,7 @@ discard block |
||
| 209 | 210 | /** |
| 210 | 211 | * Gets the datetime of the last login by user. |
| 211 | 212 | * |
| 212 | - * @param null $userName |
|
| 213 | + * @param string $userName |
|
| 213 | 214 | * |
| 214 | 215 | * @return \DateTime |
| 215 | 216 | * |
@@ -199,7 +199,7 @@ discard block |
||
| 199 | 199 | } |
| 200 | 200 | |
| 201 | 201 | /** |
| 202 | - * @return TokenStorage |
|
| 202 | + * @return \Prophecy\Prophecy\ObjectProphecy |
|
| 203 | 203 | */ |
| 204 | 204 | private function getTokenStorageWithCurrentUser() |
| 205 | 205 | { |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | } |
| 217 | 217 | |
| 218 | 218 | /** |
| 219 | - * @return EntityManager |
|
| 219 | + * @return \Prophecy\Prophecy\ObjectProphecy |
|
| 220 | 220 | */ |
| 221 | 221 | private function getEntityManagerWithUserRepository() |
| 222 | 222 | { |