Skip to content

Commit a4e5c61

Browse files
committed
chore: cs-fix
1 parent db4e2d9 commit a4e5c61

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/_support/Session/FaultyStream.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ final class FaultyStream
3434
private static bool $failWrite = false;
3535

3636
/**
37-
* @var resource|false|null
37+
* @var false|resource|null
3838
*/
3939
private mixed $stream = null;
4040

@@ -75,7 +75,7 @@ public function stream_read(int $count): false|string
7575
public function stream_write(string $data): false|int
7676
{
7777
if (self::$failWrite) {
78-
$stream = fopen('php://temp', 'r');
78+
$stream = fopen('php://temp', 'rb');
7979
$result = fwrite($stream, $data);
8080
fclose($stream);
8181

0 commit comments

Comments
 (0)