]> _ Git - fluidbook-toolbox.git/commitdiff
wait #7947 @0:10
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 Jan 2026 11:03:23 +0000 (12:03 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 19 Jan 2026 11:03:23 +0000 (12:03 +0100)
app/Models/FluidbookPublication.php

index fadad22411a73d124050b0c3a57b9c5c4eedc810..17dbe1dc9e6bb8d76fe31869332307025722ea7d 100644 (file)
@@ -953,7 +953,7 @@ class FluidbookPublication extends ToolboxStatusModel
         return true;
     }
 
-    protected function _baseReplicate(?array $except)
+    protected function _baseReplicate(?array $except=null)
     {
         $current = $this;
         if ($this->syncFromWorkshop()) {
@@ -973,7 +973,7 @@ class FluidbookPublication extends ToolboxStatusModel
         return $new;
     }
 
-    public function replicateFull(?array $except)
+    public function replicateFull(?array $except=null)
     {
         $new = $this->_baseReplicate($except);
         if (!$this->composition_fluidbook && $this->version >= 3) {
@@ -990,7 +990,7 @@ class FluidbookPublication extends ToolboxStatusModel
         return $new;
     }
 
-    public function replicateSettings(?array $except)
+    public function replicateSettings(?array $except=null)
     {
         $new = $this->_baseReplicate(array_merge($except ?? [], ['composition']));
         $new->composition = [];