From d6aefc502b277200ed0939bd7ffd8a22bbddabb0 Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Tue, 26 Jul 2022 19:55:30 +0200 Subject: [PATCH] app/models/Data/Base.php: make hasChanged() compatible with base class. --- app/models/Data/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/Data/Base.php b/app/models/Data/Base.php index 59a92be..ed81300 100644 --- a/app/models/Data/Base.php +++ b/app/models/Data/Base.php @@ -18,7 +18,7 @@ class Base extends Model * @param boolean $allFields * @return bool */ - public function hasChanged($fieldName = null, $allFields = false) + public function hasChanged($fieldName = null, bool $allFields = false) : bool { return $this->hasSnapshotData() === false || parent::hasChanged($fieldName, $allFields);