@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * This is a dirty hack until I can fully track down where |
51 | 51 | * the dual-encoding happens |
52 | 52 | * |
53 | - * @param FormBody $formBody The form builder object to fix |
|
53 | + * @param \Amp\Artax\FormBody $formBody The form builder object to fix |
|
54 | 54 | * @return string |
55 | 55 | */ |
56 | 56 | private function fixBody(FormBody $formBody): string |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | /** |
158 | 158 | * Remove some boilerplate for get requests |
159 | 159 | * |
160 | - * @param array $args |
|
160 | + * @param string $args |
|
161 | 161 | * @return array |
162 | 162 | */ |
163 | 163 | protected function getRequest(...$args): array |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | * Create a list item |
28 | 28 | * |
29 | 29 | * @param array $data - |
30 | - * @return bool |
|
30 | + * @return Request |
|
31 | 31 | */ |
32 | 32 | public function create(array $data): Request; |
33 | 33 | |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * |
45 | 45 | * @param string $id - The id of the list item to update |
46 | 46 | * @param array $data - The data with which to update the list item |
47 | - * @return Response |
|
47 | + * @return Request |
|
48 | 48 | */ |
49 | 49 | public function update(string $id, array $data): Request; |
50 | 50 | |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * Delete a list item |
53 | 53 | * |
54 | 54 | * @param string $id - The id of the list item to delete |
55 | - * @return bool |
|
55 | + * @return Request |
|
56 | 56 | */ |
57 | 57 | public function delete(string $id): Request; |
58 | 58 | } |
59 | 59 | \ No newline at end of file |