]> _ Git - cubist_cms-back.git/commitdiff
wip #5509
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Oct 2022 08:04:30 +0000 (10:04 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 6 Oct 2022 08:04:30 +0000 (10:04 +0200)
src/app/Magic/Models/CMSPage.php

index 42ce65a1d610b58711106bd9f18289bbc4495e1e..cef22001ccd3b3c0cc2d286e1800e85c114f7358 100644 (file)
@@ -79,7 +79,7 @@ class CMSPage extends CubistMagicNestedModel
     }
 
 
-    public function onCreating()
+    public function onCreating():bool
     {
         $this->useTemplateIfNotSet(request('template'));
         return $this->onCreating();
@@ -98,13 +98,13 @@ class CMSPage extends CubistMagicNestedModel
 //        parent::onBeforeEdit($controller, $id);
 //    }
 
-    public function onSaving()
+    public function onSaving():bool
     {
         $this->useTemplateIfNotSet(request('template'));
         return $this->onSaving();
     }
 
-    public function onUpdating()
+    public function onUpdating():bool
     {
         $this->useTemplateIfNotSet(request('template'));
         return $this->onUpdating();