Skip to content

Commit c247993

Browse files
Backport type fixes
1 parent a501126 commit c247993

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ private static function box(callable $func, ...$args)
761761
/**
762762
* @internal
763763
*/
764-
public static function handleError($type, $msg)
764+
public static function handleError(int $type, string $msg)
765765
{
766766
self::$lastError = $msg;
767767
}

Tests/Fixtures/MockStream/MockStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function stream_open($path, $mode, $options, &$opened_path): bool
3333

3434
/**
3535
* @param string $path The file path or URL to stat
36-
* @param array $flags Holds additional flags set by the streams API
36+
* @param int $flags Holds additional flags set by the streams API
3737
*
3838
* @return array File stats
3939
*/

0 commit comments

Comments
 (0)