Skip to content

Commit

Permalink
fix not open stream close
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaspijak committed Dec 6, 2023
1 parent f889e8f commit e4177ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/IO/ConnectionStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function run(Request $request): Response
}
finally
{
fclose($connection);
$connection !== false && fclose($connection);
}
}
}

0 comments on commit e4177ef

Please sign in to comment.