@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | /** |
84 | 84 | * Set the request body |
85 | 85 | * |
86 | - * @param FormBody|string $body |
|
86 | + * @param string $body |
|
87 | 87 | * @return self |
88 | 88 | */ |
89 | 89 | public function setBody($body): self |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | * This is a dirty hack until I can fully track down where |
195 | 195 | * the dual-encoding happens |
196 | 196 | * |
197 | - * @param FormBody $formBody The form builder object to fix |
|
197 | + * @param \Amp\Artax\FormBody $formBody The form builder object to fix |
|
198 | 198 | * @return string |
199 | 199 | */ |
200 | 200 | private function fixBody(FormBody $formBody): string |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * This is a dirty hack until I can fully track down where |
71 | 71 | * the dual-encoding happens |
72 | 72 | * |
73 | - * @param FormBody $formBody The form builder object to fix |
|
73 | + * @param \Amp\Artax\FormBody $formBody The form builder object to fix |
|
74 | 74 | * @return string |
75 | 75 | */ |
76 | 76 | private function fixBody(FormBody $formBody): string |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * @param string $type |
86 | 86 | * @param string $url |
87 | 87 | * @param array $options |
88 | - * @return \Amp\Promise |
|
88 | + * @return \Amp\Artax\Request |
|
89 | 89 | */ |
90 | 90 | public function setUpRequest(string $type, string $url, array $options = []) |
91 | 91 | { |
@@ -197,7 +197,7 @@ discard block |
||
197 | 197 | /** |
198 | 198 | * Remove some boilerplate for get requests |
199 | 199 | * |
200 | - * @param array $args |
|
200 | + * @param string $args |
|
201 | 201 | * @return array |
202 | 202 | */ |
203 | 203 | protected function getRequest(...$args): array |