Skip to content

Commit

Permalink
phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
markhuot committed Nov 22, 2023
1 parent 41c1695 commit 3fb915c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/behaviors/SnapshotableBehavior.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ public function toSnapshot()
return $value;
});

return $customFields->set([
return $customFields->merge([
'title' => $this->owner->title,
'enabled' => $this->owner->enabled,
'archived' => $this->owner->archived,
'uri' => $this->owner->uri,
'trashed' => $this->owner->trashed,
'ref' => $this->owner->ref,
'status' => $this->owner->status,
'url' => $this->owner->url,
'ref' => $this->owner->ref ?? null,
'status' => $this->owner->status ?? null,
'url' => $this->owner->url ?? null,
])->all();
}
}

0 comments on commit 3fb915c

Please sign in to comment.