Removes the typehint for search term string (#5904)
The „string“ typehint only works in PHP >= 7.0.0. Since we are still supporting versions below that, remove the type hint.
This commit is contained in:
@@ -53,7 +53,7 @@ trait Searchable {
|
||||
* @param string $search The search term
|
||||
* @return array An array of search terms
|
||||
*/
|
||||
private function prepeareSearchTerms(string $search) {
|
||||
private function prepeareSearchTerms($search) {
|
||||
return explode(' OR ', $search);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user