From d244d9a31f3e577c1a563732d610c51af83f650b Mon Sep 17 00:00:00 2001 From: Alexandre Daubois Date: Sat, 16 Mar 2024 08:20:26 +0100 Subject: [PATCH] Add more explicit nullable types for default null values --- Tests/Fixtures/MockStream/MockStream.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/Fixtures/MockStream/MockStream.php b/Tests/Fixtures/MockStream/MockStream.php index cb8ed6a77..bf4c1466c 100644 --- a/Tests/Fixtures/MockStream/MockStream.php +++ b/Tests/Fixtures/MockStream/MockStream.php @@ -28,7 +28,7 @@ class MockStream * @param string|null $opened_path If the path is opened successfully, and STREAM_USE_PATH is set in options, * opened_path should be set to the full path of the file/resource that was actually opened */ - public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool + public function stream_open(string $path, string $mode, int $options, ?string &$opened_path = null): bool { return true; }