Skip to content

Commit

Permalink
fix: do not depend on old lib exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
SMillerDev committed Mar 14, 2024
1 parent 15d35f5 commit 6724ef4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/PHPDraft/Model/HTTPRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

use PHPDraft\Model\Elements\RequestBodyElement;
use PHPDraft\Model\Elements\StructureElement;
use QL\UriTemplate\Exception;

class HTTPRequest implements Comparable
{
Expand Down Expand Up @@ -179,8 +178,6 @@ public function get_id(): string
* @param string $base_url URL to the base server
* @param array<string> $additional Extra options to pass to cURL
*
* @throws Exception
*
* @return string An executable cURL command
*/
public function get_curl_command(string $base_url, array $additional = []): string
Expand Down
2 changes: 0 additions & 2 deletions src/PHPDraft/Model/Transition.php
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ public function parse(object $object): self
* @param string $base_url the URL to which the URL variables apply
* @param bool $clean Get the URL without HTML
*
* @throws \QL\UriTemplate\Exception
*
* @return string HTML representation of the transition URL
*/
public function build_url(string $base_url = '', bool $clean = false): string
Expand Down

0 comments on commit 6724ef4

Please sign in to comment.