@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use CakeDC\Api\Exception\ValidationException; |
15 | 15 | use CakeDC\Api\Service\Action\Action; |
16 | -use CakeDC\Users\Controller\Component\UsersAuthComponent; |
|
17 | 16 | use CakeDC\Users\Controller\Traits\CustomUsersTableTrait; |
18 | 17 | use CakeDC\Users\Exception\TokenExpiredException; |
19 | 18 | use CakeDC\Users\Exception\UserAlreadyActiveException; |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * Api method for table. |
100 | 100 | * |
101 | 101 | * @param Table $table A Table instance. |
102 | - * @return Table |
|
102 | + * @return string |
|
103 | 103 | */ |
104 | 104 | public function table($table = null) |
105 | 105 | { |
@@ -162,7 +162,7 @@ discard block |
||
162 | 162 | /** |
163 | 163 | * Returns single entity by id. |
164 | 164 | * |
165 | - * @param mixed $primaryKey Primary key. |
|
165 | + * @param string $primaryKey Primary key. |
|
166 | 166 | * @return \Cake\Collection\Collection |
167 | 167 | */ |
168 | 168 | protected function _getEntity($primaryKey) |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | /** |
212 | 212 | * Model id getter. |
213 | 213 | * |
214 | - * @return mixed|string |
|
214 | + * @return string |
|
215 | 215 | */ |
216 | 216 | public function id() |
217 | 217 | { |
@@ -231,7 +231,7 @@ discard block |
||
231 | 231 | /** |
232 | 232 | * Parent id getter. |
233 | 233 | * |
234 | - * @return mixed|string |
|
234 | + * @return string |
|
235 | 235 | */ |
236 | 236 | public function parentId() |
237 | 237 | { |
@@ -206,7 +206,7 @@ |
||
206 | 206 | * Get and set controller associated with service, |
207 | 207 | * |
208 | 208 | * @param \Cake\Controller\Controller $controller Controller. |
209 | - * @return \Cake\Controller\Controller |
|
209 | + * @return null|Controller |
|
210 | 210 | */ |
211 | 211 | public function controller(Controller $controller = null) |
212 | 212 | { |