mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-06 23:04:58 +00:00
Fix phpstan issues
This commit is contained in:
@@ -199,7 +199,7 @@ class SearchController extends AbstractController
|
||||
{
|
||||
// TODO this is an incomplete implementation
|
||||
$query = $request->query->get('q', '');
|
||||
$types = $request->query->get('type', []);
|
||||
$types = $request->query->all('type');
|
||||
|
||||
if (0 === \count($types)) {
|
||||
throw new BadRequestHttpException('The request must contains at one type');
|
||||
|
Reference in New Issue
Block a user