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:
Till Deeke 2018-07-20 22:23:44 +02:00 committed by snipe
parent 45a2932f4b
commit e1c095adca

View file

@ -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);
}