mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 06:17:28 -08:00
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:
parent
45a2932f4b
commit
e1c095adca
|
@ -53,7 +53,7 @@ trait Searchable {
|
||||||
* @param string $search The search term
|
* @param string $search The search term
|
||||||
* @return array An array of search terms
|
* @return array An array of search terms
|
||||||
*/
|
*/
|
||||||
private function prepeareSearchTerms(string $search) {
|
private function prepeareSearchTerms($search) {
|
||||||
return explode(' OR ', $search);
|
return explode(' OR ', $search);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue