Skip to content

Commit deb246a

Browse files
Merge branch '4.4' into 5.2
* 4.4: Backport type fixes uzb translation [DependencyInjection] Fix doc blocks [DependencyInjection] Turn $defaultDeprecationTemplate into a constant [Form] better form doc types to support static analysis
2 parents 8318cbf + c247993 commit deb246a

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
@@ -732,7 +732,7 @@ private static function box(callable $func, ...$args)
732732
/**
733733
* @internal
734734
*/
735-
public static function handleError($type, $msg)
735+
public static function handleError(int $type, string $msg)
736736
{
737737
self::$lastError = $msg;
738738
}

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)