Skip to content

Commit

Permalink
fix: syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
ramaID committed Sep 11, 2024
1 parent 34f2889 commit f80b40f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/ExternalTaskClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public static function fetchAndLock(string $workerId, array $topics, int $maxTas
if (! $response->successful()) {
/** @var array */
$array = $response->json();
throw (new UnexpectedResponseException)->($url, $payload, $array);
throw (new UnexpectedResponseException)->for($url, $payload, $array);
}

$data = [];
Expand Down

0 comments on commit f80b40f

Please sign in to comment.