Skip to content
Permalink
Browse files

FileMutator: mkdir() detects recursive flag

  • Loading branch information...
dg committed Feb 12, 2019
1 parent b949098 commit 1bd124b98eca28cb6c18c4da00ebd3de30855068
Showing with 2 additions and 1 deletion.
  1. +2 βˆ’1 src/Framework/FileMutator.php
@@ -64,7 +64,8 @@ public function dir_rewinddir(): bool
public function mkdir(string $path, int $mode, int $options): bool
{
return $this->native('mkdir', $path, $mode, false, $this->context);
$recursive = (bool) ($options & STREAM_MKDIR_RECURSIVE);
return $this->native('mkdir', $path, $mode, $recursive, $this->context);
}

0 comments on commit 1bd124b

Please sign in to comment.
You can’t perform that action at this time.