]> BookStack Code Mirror - bookstack/blobdiff - app/Services/ImageService.php
Updated Spanish translation
[bookstack] / app / Services / ImageService.php
index d1193ab4fd3d74787a0f2de13f541bed0bb8e859..73a677ac23ecf144634b3447aff95c83b45c1fd8 100644 (file)
@@ -306,11 +306,11 @@ class ImageService extends UploadService
      *
      * Returns the path of the images that would be/have been deleted.
      * @param bool $checkRevisions
-     * @param array $types
      * @param bool $dryRun
+     * @param array $types
      * @return array
      */
-    public function deleteUnusedImages($checkRevisions = true, $types = ['gallery', 'drawio'], $dryRun = true)
+    public function deleteUnusedImages($checkRevisions = true, $dryRun = true, $types = ['gallery', 'drawio'])
     {
         $types = array_intersect($types, ['gallery', 'drawio']);
         $deletedPaths = [];