Fixed static analysis issue and a syntax error on PHP 7.4

This commit is contained in:
Jan Böhmer
2023-01-10 15:15:13 +01:00
committed by GitHub
parent 7ecc460925
commit d734df4bd3

View File

@@ -91,10 +91,9 @@ class ToolsController extends AbstractController
/**
* @Route("/builtin_footprints", name="tools_builtin_footprints_viewer")
* @param AttachmentPathResolver $pathResolver
* @return Response
*/
public function builtInFootprintsViewer(BuiltinAttachmentsFinder $builtinAttachmentsFinder, AttachmentURLGenerator $urlGenerator, ): Response
public function builtInFootprintsViewer(BuiltinAttachmentsFinder $builtinAttachmentsFinder, AttachmentURLGenerator $urlGenerator): Response
{
$this->denyAccessUnlessGranted('@tools.builtin_footprints_viewer');