]> BookStack Code Mirror - bookstack/blobdiff - app/Entities/Models/Deletion.php
Fixed failing test after drawio default url change
[bookstack] / app / Entities / Models / Deletion.php
index 97abb87ffc5ea83c7b5773d35ede202cd396e5fa..181c9c5803d6441254bd89fc92e66cbddf27c4d0 100644 (file)
@@ -59,7 +59,7 @@ class Deletion extends Model implements Loggable
     /**
      * Get a URL for this specific deletion.
      */
-    public function getUrl($path): string
+    public function getUrl(string $path = 'restore'): string
     {
         return url("/settings/recycle-bin/{$this->id}/" . ltrim($path, '/'));
     }