mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +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")
|
||||
* @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');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue