Skip to content

Commit

Permalink
Fixed PHPStan
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixJacobi committed Sep 17, 2024
1 parent 4a3f000 commit e8f2430
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Http/Transport/CurlTransport.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,8 @@ public function request(TransportRequest $request): TransportResponse

$ch = curl_init();
// @codeCoverageIgnoreStart
/* @phpstan-ignore-next-line */
if (!$ch) {
throw new RuntimeException('Could not create curl instance. Error: '.curl_error($ch));
throw new RuntimeException('Could not create curl instance.');
}
// @codeCoverageIgnoreEnd

Expand Down

0 comments on commit e8f2430

Please sign in to comment.