From 277aa5103d17d37f322f0e50cbc4aef373259da3 Mon Sep 17 00:00:00 2001 From: Antoine Lamirault Date: Sat, 11 Feb 2023 19:34:13 +0100 Subject: [PATCH] Fix some phpdoc --- Tests/Fixtures/MockStream/MockStream.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Tests/Fixtures/MockStream/MockStream.php b/Tests/Fixtures/MockStream/MockStream.php index 9aa9f3e2f..cb8ed6a77 100644 --- a/Tests/Fixtures/MockStream/MockStream.php +++ b/Tests/Fixtures/MockStream/MockStream.php @@ -22,11 +22,11 @@ class MockStream /** * Opens file or URL. * - * @param string $path Specifies the URL that was passed to the original function - * @param string $mode The mode used to open the file, as detailed for fopen() - * @param int $options Holds additional flags set by the streams API - * @param string $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 + * @param string $path Specifies the URL that was passed to the original function + * @param string $mode The mode used to open the file, as detailed for fopen() + * @param int $options Holds additional flags set by the streams API + * @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 {