From 1b0963a69577c317255263e6ee6c1b811f0c674b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Thu, 6 Oct 2022 10:04:30 +0200 Subject: [PATCH] wip #5509 --- src/app/Magic/Models/CMSPage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/Magic/Models/CMSPage.php b/src/app/Magic/Models/CMSPage.php index 42ce65a..cef2200 100644 --- a/src/app/Magic/Models/CMSPage.php +++ b/src/app/Magic/Models/CMSPage.php @@ -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(); -- 2.39.5