This repository was archived by the owner on Feb 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 "hhvm" : " ^4.1" ,
1717 "facebook/hack-http-request-response-interfaces" : " ^0.2" ,
1818 "hhvm/hsl" : " ^4.25" ,
19- "hhvm/hsl-experimental" : " ^4.25 " ,
19+ "hhvm/hsl-experimental" : " ^4.37 " ,
2020 "hhvm/type-assert" : " ^3.3" ,
2121 "usox/hack-http-factory-interfaces" : " ^0.2"
2222 },
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ final class TemporaryFileSapiEmitter implements EmitterInterface {
4444
4545 $temporary_file_path = $path -> toString();
4646
47- if ($body is IO \NonDisposableHandle ) {
47+ if ($body is IO \CloseableHandle ) {
4848 await $body -> closeAsync();
4949 }
5050
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ final class UploadedFile implements Message\UploadedFileInterface {
5353 private async function writeAsync (string $target_path ): Awaitable <void > {
5454 await using $target = File \open_write_only ($target_path );
5555 await $target -> writeAsync($this -> stream -> rawReadBlocking());
56- if ($this -> stream is IO \NonDisposableHandle ) {
56+ if ($this -> stream is IO \CloseableHandle ) {
5757 await $this -> stream -> closeAsync();
5858 }
5959 }
You can’t perform that action at this time.
0 commit comments