Skip to content

Commit

Permalink
Fix stan
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed Oct 21, 2024
1 parent de46d1b commit b59b2a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Utopia/Messaging/Adapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ protected function request(
* @param array<string> $headers
* @param array<array<string, mixed>> $bodies
* @return array<array{
* index: int,
* url: string,
* statusCode: int,
* response: array<string, mixed>|null,
Expand Down Expand Up @@ -237,7 +238,7 @@ protected function requestMulti(
}

$responses[] = [
'index' => \curl_getinfo($ch, CURLINFO_PRIVATE),
'index' => (int)\curl_getinfo($ch, CURLINFO_PRIVATE),
'url' => \curl_getinfo($ch, CURLINFO_EFFECTIVE_URL),
'statusCode' => \curl_getinfo($ch, CURLINFO_RESPONSE_CODE),
'response' => $response,
Expand Down

0 comments on commit b59b2a3

Please sign in to comment.