Skip to content

Commit 070b6d2

Browse files
committed
:octocat: bye curl_close()
1 parent 96d568d commit 070b6d2

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Authenticators/SteamGuard.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,6 @@ public function getServerTime():int{
122122
$response = curl_exec($ch);
123123
$info = curl_getinfo($ch);
124124

125-
curl_close($ch);
126-
127125
if($info['http_code'] !== 200 || $response === false){
128126
// I'm not going to investigate the error further as this shouldn't happen usually
129127
throw new RuntimeException(sprintf('Steam API request error: HTTP/%s', $info['http_code'])); // @codeCoverageIgnore

0 commit comments

Comments
 (0)