From f40e7223975c220430283f49c3b79c454b94e134 Mon Sep 17 00:00:00 2001 From: Marcus Moore Date: Mon, 22 May 2023 17:44:17 -0700 Subject: [PATCH] Add docblock --- app/Models/Traits/Searchable.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/Models/Traits/Searchable.php b/app/Models/Traits/Searchable.php index 69b0f800f6..6ac6be7357 100644 --- a/app/Models/Traits/Searchable.php +++ b/app/Models/Traits/Searchable.php @@ -265,6 +265,12 @@ trait Searchable return $related->getTable(); } + /** + * Builds a search string for either MySQL or sqlite by separating the provided columns with a space. + * + * @param array $columns Columns to include in search string. + * @return string + */ private function buildMultipleColumnSearch(array $columns): string { $driver = config('database.connections.' . config('database.default') . '.driver');