@@ -53,7 +53,7 @@ |
||
53 | 53 | * @NoAdminRequired |
54 | 54 | * @NoCSRFRequired |
55 | 55 | * @param int $accountId |
56 | - * @return Alias[] |
|
56 | + * @return Alias |
|
57 | 57 | */ |
58 | 58 | public function index($accountId) { |
59 | 59 | return $this->aliasService->findAll($accountId, $this->currentUser); |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | /** |
41 | - * @param $e |
|
41 | + * @param Exception $e |
|
42 | 42 | * @throws NotFoundException |
43 | 43 | */ |
44 | 44 | private function handleException ($e) { |
@@ -52,8 +52,8 @@ discard block |
||
52 | 52 | |
53 | 53 | /** |
54 | 54 | * @param int $accountId |
55 | - * @param String $currentUser |
|
56 | - * @return String Alias |
|
55 | + * @param String $currentUserId |
|
56 | + * @return Alias Alias |
|
57 | 57 | */ |
58 | 58 | public function findAll($accountId, $currentUserId) { |
59 | 59 | return $this->mapper->findAll($accountId, $currentUserId); |
@@ -62,8 +62,8 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * @param int $accountId |
64 | 64 | * @param int $aliasId |
65 | - * @param String $currentUser |
|
66 | - * @return String Alias |
|
65 | + * @param string $currentUserId |
|
66 | + * @return Alias[] Alias |
|
67 | 67 | */ |
68 | 68 | public function find($accountId, $aliasId, $currentUserId) { |
69 | 69 | return $this->mapper->find($accountId, $aliasId, $currentUserId); |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | |
72 | 72 | /** |
73 | 73 | * @param int $accountId |
74 | - * @param String $alias_name |
|
74 | + * @param string $aliasName |
|
75 | 75 | * @param String $currentUserId |
76 | 76 | * @return Alias[] |
77 | 77 | */ |