From 96e9571ae4049d77037340a4ccbda176f6c889ef Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 23 Jan 2023 11:11:41 +0100 Subject: [PATCH] Update signature of Entity::markFieldUpdated Signed-off-by: Joas Schilling --- lib/Db/RelationalEntity.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Db/RelationalEntity.php b/lib/Db/RelationalEntity.php index 8ac6ef456..b4683b05b 100644 --- a/lib/Db/RelationalEntity.php +++ b/lib/Db/RelationalEntity.php @@ -53,7 +53,7 @@ public function addResolvable($property) { * @param string $attribute the name of the attribute * @since 7.0.0 */ - protected function markFieldUpdated($attribute) { + protected function markFieldUpdated(string $attribute): void { if (!in_array($attribute, $this->_relations, true)) { parent::markFieldUpdated($attribute); }