Skip to content

Commit

Permalink
Merge pull request #4398 from nextcloud/techdebt/noid/update-signatur…
Browse files Browse the repository at this point in the history
…e-of-markFieldUpdated

Update signature of Entity::markFieldUpdated
  • Loading branch information
nickvergessen authored Jan 24, 2023
2 parents 6d9a2c1 + 96e9571 commit 5ec251e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Db/RelationalEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 5ec251e

Please sign in to comment.