diff --git a/app/Livewire/Vault/TreeView.php b/app/Livewire/Vault/TreeView.php index b027f97..34250a0 100644 --- a/app/Livewire/Vault/TreeView.php +++ b/app/Livewire/Vault/TreeView.php @@ -34,6 +34,7 @@ final class TreeView extends Component if ($target->exists) { // Ignore if $target is the same as $source or if it is a child of $source + // @phpstan-ignore-next-line larastan.noUnnecessaryCollectionCall if ($target->ancestorsAndSelf()->pluck('id')->contains($source->id)) { return; }