Skip to content

Commit 8a102f2

Browse files
authored
Merge pull request #2015 from brefphp/fix-php85-deprecations
Fix PHP 8.5 deprecations
2 parents afda801 + 9dbd028 commit 8a102f2

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

src/Runtime/LambdaRuntime.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,15 +336,13 @@ private function postJson(string $url, mixed $data, array $headers = []): void
336336
private function closeCurlHandleNext(): void
337337
{
338338
if ($this->curlHandleNext !== null) {
339-
curl_close($this->curlHandleNext);
340339
$this->curlHandleNext = null;
341340
}
342341
}
343342

344343
private function closeCurlHandleResult(): void
345344
{
346345
if ($this->curlHandleResult !== null) {
347-
curl_close($this->curlHandleResult);
348346
$this->curlHandleResult = null;
349347
}
350348
}

0 commit comments

Comments
 (0)