From 41afefd18dc4bd79c6dca842a7e66225ad8e8c01 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 5 Nov 2017 22:29:52 +0100 Subject: [PATCH] Test int permission --- System/File/Local/Directory.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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))) {