@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * List all staffs. |
41 | 41 | * |
42 | - * @return array |
|
42 | + * @return Collection |
|
43 | 43 | */ |
44 | 44 | public function lists() |
45 | 45 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * List all online staffs. |
51 | 51 | * |
52 | - * @return array |
|
52 | + * @return Collection |
|
53 | 53 | */ |
54 | 54 | public function onlines() |
55 | 55 | { |
@@ -63,7 +63,7 @@ discard block |
||
63 | 63 | * @param string $nickname |
64 | 64 | * @param string $password |
65 | 65 | * |
66 | - * @return bool |
|
66 | + * @return Collection |
|
67 | 67 | */ |
68 | 68 | public function create($email, $nickname, $password) |
69 | 69 | { |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | * @param string $nickname |
84 | 84 | * @param string $password |
85 | 85 | * |
86 | - * @return bool |
|
86 | + * @return Collection |
|
87 | 87 | */ |
88 | 88 | public function update($email, $nickname, $password) |
89 | 89 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | * |
102 | 102 | * @param string $email |
103 | 103 | * |
104 | - * @return bool |
|
104 | + * @return Collection |
|
105 | 105 | */ |
106 | 106 | public function delete($email) |
107 | 107 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * @param string $email |
127 | 127 | * @param string $path |
128 | 128 | * |
129 | - * @return bool |
|
129 | + * @return Collection |
|
130 | 130 | */ |
131 | 131 | public function avatar($email, $path) |
132 | 132 | { |
@@ -154,7 +154,7 @@ discard block |
||
154 | 154 | * |
155 | 155 | * @param string|array $message |
156 | 156 | * |
157 | - * @return mixed |
|
157 | + * @return Collection |
|
158 | 158 | */ |
159 | 159 | public function send($message) |
160 | 160 | { |