mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-27 20:28:54 +02:00
Fixed static analysis issues
This commit is contained in:
parent
0445b87567
commit
d976865e7a
3 changed files with 4 additions and 4 deletions
|
@ -36,17 +36,16 @@ use Symfony\Component\Routing\Annotation\Route;
|
|||
class KiCADAPIController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly EntityManagerInterface $em,
|
||||
private readonly KiCADHelper $kiCADHelper,
|
||||
|
||||
)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#[Route('/', name: 'kicad_api_root')]
|
||||
public function root(): Response
|
||||
{
|
||||
$this->denyAccessUnlessGranted('HAS_ACCESS_PERMISSIONS');
|
||||
|
||||
//The API documentation says this can be either blank or the URL to the endpoints
|
||||
return $this->json([
|
||||
'categories' => '',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue