Skip to content

Commit

Permalink
force the use of io 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Baptouuuu committed Sep 24, 2023
1 parent 929c433 commit 4b2efe0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -18,7 +18,7 @@
"php": "~8.2",
"innmind/mantle": "^1.0",
"innmind/async-operating-system": "^1.0",
"innmind/io": "~1.0|~2.0",
"innmind/io": "~2.0",
"innmind/http-parser": "~1.0",
"innmind/cli": "^3.3",
"innmind/operating-system": "~3.7"
Expand Down
2 changes: 1 addition & 1 deletion src/Server.php
Expand Up @@ -150,7 +150,7 @@ public function emerge(mixed $carry, Sequence $active): array
$chunks = $io
->readable()
->wrap($connection)
->toEncoding('ASCII')
->toEncoding(Str\Encoding::ascii)
->watch()
->chunks(8192);

Expand Down

0 comments on commit 4b2efe0

Please sign in to comment.