@@ -8,7 +8,7 @@ |
||
8 | 8 | * Check if the information in $user is enough |
9 | 9 | * and valid to create a new User in database. |
10 | 10 | * |
11 | - * @param User $user user to validate |
|
11 | + * @param \SMG\UserBundle\Entity\User $user user to validate |
|
12 | 12 | * @param string $group validation group to apply |
13 | 13 | * |
14 | 14 | * @return array contains the error(s) list, |
@@ -28,7 +28,7 @@ |
||
28 | 28 | * |
29 | 29 | * @param string $allowedType client type to check |
30 | 30 | * |
31 | - * @return bool |
|
31 | + * @return boolean|null |
|
32 | 32 | * |
33 | 33 | * @throws AccessDeniedException |
34 | 34 | */ |