File tree Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Expand file tree Collapse file tree 2 files changed +0
-7
lines changed Original file line number Diff line number Diff line change 14
14
15
15
use PHPDraft \Model \Elements \RequestBodyElement ;
16
16
use PHPDraft \Model \Elements \StructureElement ;
17
- use QL \UriTemplate \Exception ;
18
17
19
18
class HTTPRequest implements Comparable
20
19
{
@@ -179,8 +178,6 @@ public function get_id(): string
179
178
* @param string $base_url URL to the base server
180
179
* @param array<string> $additional Extra options to pass to cURL
181
180
*
182
- * @throws Exception
183
- *
184
181
* @return string An executable cURL command
185
182
*/
186
183
public function get_curl_command (string $ base_url , array $ additional = []): string
Original file line number Diff line number Diff line change @@ -153,8 +153,6 @@ public function parse(object $object): self
153
153
* @param string $base_url the URL to which the URL variables apply
154
154
* @param bool $clean Get the URL without HTML
155
155
*
156
- * @throws \QL\UriTemplate\Exception
157
- *
158
156
* @return string HTML representation of the transition URL
159
157
*/
160
158
public function build_url (string $ base_url = '' , bool $ clean = false ): string
@@ -265,8 +263,6 @@ public function get_method(int $request = 0): string
265
263
* @param int $key number of the request to generate for
266
264
*
267
265
* @return string A cURL CLI command
268
- *
269
- * @throws \QL\UriTemplate\Exception If URL parts are invalid
270
266
*/
271
267
public function get_curl_command (string $ base_url , array $ additional = [], int $ key = 0 ): string
272
268
{
You can’t perform that action at this time.
0 commit comments