forked from mirror/Part-DB.Part-DB-server
Fixed some inspection issues.
This commit is contained in:
parent
6caf605fe2
commit
e01b06fb85
80 changed files with 173 additions and 218 deletions
|
@ -75,7 +75,7 @@ class TypeaheadController extends AbstractController
|
|||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function builtInResources(Request $request, BuiltinAttachmentsFinder $finder)
|
||||
public function builtInResources(Request $request, BuiltinAttachmentsFinder $finder): JsonResponse
|
||||
{
|
||||
$query = $request->get('query');
|
||||
$array = $finder->find($query);
|
||||
|
@ -106,7 +106,7 @@ class TypeaheadController extends AbstractController
|
|||
*
|
||||
* @return JsonResponse
|
||||
*/
|
||||
public function tags(string $query, TagFinder $finder)
|
||||
public function tags(string $query, TagFinder $finder): JsonResponse
|
||||
{
|
||||
$array = $finder->searchTags($query);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue