Skip to content

Commit

Permalink
docs: add explanation for bitwire value in StreamWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
PedroTroller committed Oct 30, 2023
1 parent bf12aef commit 74be6f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gaufrette/StreamWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected static function streamWrapperRegister(string $scheme, string $classNam
}

/**
* @param STREAM_USE_PATH|STREAM_REPORT_ERRORS|9 $options
* @param STREAM_USE_PATH|STREAM_REPORT_ERRORS|9 $options "9" is the result of a bitwize operation between STREAM_USE_PATH and STREAM_REPORT_ERRORS (STREAM_USE_PATH|STREAM_REPORT_ERRORS).
*/
public function stream_open(string $path, string $mode, int $options, ?string &$opened_path = null): bool
{
Expand Down

0 comments on commit 74be6f5

Please sign in to comment.