Skip to content

Commit

Permalink
react/http PHP 8.4 patch
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 14, 2024
1 parent bbf44d9 commit 40e461d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@
"nette/neon": [
"patches/NetteNeonStringNode.patch",
"patches/NeonParser.patch"
],
"react/http": [
"patches/Sender.patch"
]
}
},
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions patches/Sender.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- src/Io/Sender.php 2024-03-27 18:20:46
+++ src/Io/Sender.php 2024-10-14 10:19:28
@@ -48,7 +48,7 @@
* @param ConnectorInterface|null $connector
* @return self
*/
- public static function createFromLoop(LoopInterface $loop, ConnectorInterface $connector = null)
+ public static function createFromLoop(LoopInterface $loop, ?ConnectorInterface $connector = null)
{
if ($connector === null) {
$connector = new Connector(array(), $loop);

0 comments on commit 40e461d

Please sign in to comment.