]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix ZipArchive::addEmptyDir stub 31929/head
authorCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 12 Apr 2022 09:18:04 +0000 (11:18 +0200)
committerCôme Chilliet <come.chilliet@nextcloud.com>
Tue, 12 Apr 2022 09:18:04 +0000 (11:18 +0200)
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
build/stubs/zip.php

index b0dc3ba3ae23b827acb60480d0720e7e85277258..10590aeed50e4541c818191f1ac1b9d63af4265b 100644 (file)
@@ -732,8 +732,8 @@ class ZipArchive implements Countable
      * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
      */
     public function addEmptyDir(
-         $dirname,
-         $flags
+        string $dirname,
+        int $flags = 0
     ) {}
 
     /**