- Fixed a bug occuring within Timeout

This commit is contained in:
Dave Mc Nicoll committed 2024-02-16 14:38:18 -05:00
1 parent aba0ec3458
commit 56ca1e2071
5 files changed
+5

No files matched your search

+1
View File
@@ -9,5 +9,6 @@ class Collection extends ApiAction {
public function __construct( public function __construct(
public string $url, public string $url,
public MethodEnum $method = MethodEnum::Get, public MethodEnum $method = MethodEnum::Get,
public int $timeout = 5,
) {} ) {}
} }
+1
View File
@@ -9,5 +9,6 @@ class Create extends ApiAction {
public function __construct( public function __construct(
public string $url, public string $url,
public MethodEnum $method = MethodEnum::Post, public MethodEnum $method = MethodEnum::Post,
public int $timeout = 5,
) {} ) {}
} }
+1
View File
@@ -9,5 +9,6 @@ class Delete extends ApiAction {
public function __construct( public function __construct(
public string $url, public string $url,
public MethodEnum $method = MethodEnum::Delete, public MethodEnum $method = MethodEnum::Delete,
public int $timeout = 5,
) {} ) {}
} }
+1
View File
@@ -9,5 +9,6 @@ class Read extends ApiAction {
public function __construct( public function __construct(
public string $url, public string $url,
public MethodEnum $method = MethodEnum::Get, public MethodEnum $method = MethodEnum::Get,
public int $timeout = 5,
) {} ) {}
} }
+1
View File
@@ -9,5 +9,6 @@ class Update extends ApiAction {
public function __construct( public function __construct(
public string $url, public string $url,
public MethodEnum $method = MethodEnum::Patch, public MethodEnum $method = MethodEnum::Patch,
public int $timeout = 5,
) {} ) {}
} }