Completed
Pull Request — master (#1523)
by
unknown
08:12
created
lib/controller/aliasescontroller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
lib/service/aliasesservice.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.