Skip to content

Commit d244d9a

Browse files
Add more explicit nullable types for default null values
1 parent 5a55360 commit d244d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/Fixtures/MockStream/MockStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ class MockStream
2828
* @param string|null $opened_path If the path is opened successfully, and STREAM_USE_PATH is set in options,
2929
* opened_path should be set to the full path of the file/resource that was actually opened
3030
*/
31-
public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool
31+
public function stream_open(string $path, string $mode, int $options, ?string &$opened_path = null): bool
3232
{
3333
return true;
3434
}

0 commit comments

Comments
 (0)