Skip to content

Commit

Permalink
Corrects terms keyBy #39
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathonKoster committed Apr 27, 2024
1 parent a695fe9 commit 2d23af9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Processors/RelationshipProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ protected function getEffectedEntries($relationship, $entryIds)

$this->effectedTerms = array_merge(
$this->effectedTerms,
$terms->keyBy('slug')->all()
$terms->keyBy(fn($term) => $term->slug())->all()
);
}
}
Expand Down

0 comments on commit 2d23af9

Please sign in to comment.