mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 09:35:49 +02:00
Fixed static analysis issue and a syntax error on PHP 7.4
This commit is contained in:
parent
7ecc460925
commit
d734df4bd3
1 changed files with 1 additions and 2 deletions
|
@ -91,10 +91,9 @@ class ToolsController extends AbstractController
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Route("/builtin_footprints", name="tools_builtin_footprints_viewer")
|
* @Route("/builtin_footprints", name="tools_builtin_footprints_viewer")
|
||||||
* @param AttachmentPathResolver $pathResolver
|
|
||||||
* @return Response
|
* @return Response
|
||||||
*/
|
*/
|
||||||
public function builtInFootprintsViewer(BuiltinAttachmentsFinder $builtinAttachmentsFinder, AttachmentURLGenerator $urlGenerator, ): Response
|
public function builtInFootprintsViewer(BuiltinAttachmentsFinder $builtinAttachmentsFinder, AttachmentURLGenerator $urlGenerator): Response
|
||||||
{
|
{
|
||||||
$this->denyAccessUnlessGranted('@tools.builtin_footprints_viewer');
|
$this->denyAccessUnlessGranted('@tools.builtin_footprints_viewer');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue