diff --git a/System/File/Local/Directory.php b/System/File/Local/Directory.php index 7dc2cddeb..d25f22e68 100644 --- a/System/File/Local/Directory.php +++ b/System/File/Local/Directory.php @@ -391,7 +391,7 @@ class Directory extends FileAbstract implements DirectoryInterface /** * {@inheritdoc} */ - public static function create(string $path, int $permission = 0644, bool $recursive = false) : bool + public static function create(string $path, int $permission = 644, bool $recursive = false) : bool { if (!file_exists($path)) { if (!$recursive && !file_exists(self::parent($path))) {