forked from mirror/Part-DB.Part-DB-server
Fixed inspection issues.
This commit is contained in:
parent
0fe83c7b3a
commit
eb9b24d5d7
20 changed files with 33 additions and 49 deletions
|
@ -62,9 +62,11 @@ class TypeaheadController extends AbstractController
|
|||
/**
|
||||
* @Route("/builtInResources/search/{query}", name="typeahead_builtInRessources", requirements={"query"= ".+"})
|
||||
*
|
||||
* @param string $query
|
||||
* @param BuiltinAttachmentsFinder $finder
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function builtInResources(Request $request, string $query, BuiltinAttachmentsFinder $finder)
|
||||
public function builtInResources(string $query, BuiltinAttachmentsFinder $finder)
|
||||
{
|
||||
$array = $finder->find($query);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue