Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
den1n committed Mar 22, 2022
1 parent dc50d37 commit dd84557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Engines/DatabaseEngine.php
Original file line number Diff line number Diff line change
Expand Up @@ -296,10 +296,10 @@ protected function getFullTextOptions(Builder $builder)
}

foreach ((new ReflectionMethod($builder->model, 'toSearchableArray'))->getAttributes(SearchUsingFullText::class) as $attribute) {
$columns = array_merge($options, Arr::wrap($attribute->getArguments()[1]));
$options = array_merge($options, Arr::wrap($attribute->getArguments()[1]));
}

return $columns;
return $options;
}

/**
Expand Down

0 comments on commit dd84557

Please sign in to comment.