mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-06 00:05:36 +08:00
refactor config test (#199)
This commit is contained in:
@@ -11,8 +11,8 @@ trait HasVirtualFileSystem
|
||||
{
|
||||
private vfsStreamDirectory $vfs;
|
||||
|
||||
private function setUpVfs(string $dir = 'root'): void
|
||||
private function setUpVfs(string $dir = 'root', array $structure = []): void
|
||||
{
|
||||
$this->vfs = vfsStream::setup($dir);
|
||||
$this->vfs = vfsStream::setup($dir, structure: $structure);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user