Skip to content

Commit

Permalink
Merge 4928328 into 953553b
Browse files Browse the repository at this point in the history
  • Loading branch information
neclimdul committed Feb 8, 2022
2 parents 953553b + 4928328 commit c13963b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/vfsStreamWrapper.php
Expand Up @@ -86,6 +86,12 @@ class vfsStreamWrapper
* file mode: read and write
*/
public const ALL = 2;
/**
* The current context or null if none passed.
*
* @var resource|null
*/
public $context;
/**
* switch whether class has already been registered as stream wrapper or not
*
Expand Down
6 changes: 6 additions & 0 deletions tests/phpt/bug71287.phpt
Expand Up @@ -6,6 +6,12 @@ See https://github.com/mikey179/vfsStream/issues/120
--FILE--
<?php
class Stream {
/**
* The current context or null if none passed.
*
* @var resource|null
*/
public $context;
public function stream_open($path, $mode, $options, $opened_path) {

return true;
Expand Down

0 comments on commit c13963b

Please sign in to comment.