@@ -2491,6 +2491,11 @@ |
||
2491 | 2491 | return $userService->createUser($userCreateStruct, [$group]); |
2492 | 2492 | } |
2493 | 2493 | |
2494 | + /** |
|
2495 | + * @param string $login |
|
2496 | + * @param string $password |
|
2497 | + * @param integer $type |
|
2498 | + */ |
|
2494 | 2499 | private function createHash($login, $password, $type) |
2495 | 2500 | { |
2496 | 2501 | switch ($type) { |
@@ -492,7 +492,7 @@ |
||
492 | 492 | * @param mixed $userId |
493 | 493 | * @param string[] $prioritizedLanguages Used as prioritized language code on translated properties of returned object. |
494 | 494 | * |
495 | - * @return \eZ\Publish\API\Repository\Values\User\User |
|
495 | + * @return \eZ\Publish\API\Repository\Values\ValueObject |
|
496 | 496 | * |
497 | 497 | * @throws \eZ\Publish\API\Repository\Exceptions\NotFoundException if a user with the given id was not found |
498 | 498 | */ |