Skip to content

Commit

Permalink
Ignore the $options argument in Stream::dir_opendir
Browse files Browse the repository at this point in the history
  • Loading branch information
antecedent committed Feb 18, 2023
1 parent 90efbab commit 56f6c99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CodeManipulation/Stream.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ public function dir_closedir()

public function dir_opendir($path, $options)
{
return static::alternate('opendir', null, __FUNCTION__, [$path, $options], $this->context) !== false;
return static::alternate('opendir', null, __FUNCTION__, [$path], $this->context) !== false;
}

public function dir_readdir()
Expand Down

0 comments on commit 56f6c99

Please sign in to comment.