Skip to content

Commit

Permalink
method isnt a setter
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanmitchell committed Nov 13, 2024
1 parent d99f0e7 commit d9b11cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Jobs/UpdateCollectionEntryOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public function handle()
{
if ($entry = Entry::find($this->entryId)) {
if ($this->entryOrder) {
$entry->order($this->entryOrder);
$entry->set('order', $this->entryOrder);
}

$entry->save();
Expand Down

0 comments on commit d9b11cb

Please sign in to comment.