Skip to content

Commit

Permalink
Fix fatal error when autoloader open directories
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Dec 29, 2022
1 parent ab27d89 commit 600f160
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -259,4 +259,11 @@ public function stream_set_option($option, $arg1, $arg2): bool
return false;
}

public function dir_opendir(string $path, int $options): bool {
return true;
}

public function dir_readdir(): string {
return '';
}
}

0 comments on commit 600f160

Please sign in to comment.