app/models/Data/Base.php: make hasChanged() compatible with base class.
This commit is contained in:
parent
2a2cda0de4
commit
d6aefc502b
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Reference in a new issue