mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-21 01:25:55 +02:00
Fixed code style.
This commit is contained in:
parent
2853e471c4
commit
d0b1024d80
212 changed files with 495 additions and 1005 deletions
|
@ -1,28 +1,23 @@
|
|||
<?php
|
||||
|
||||
|
||||
namespace App\Controller;
|
||||
|
||||
|
||||
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
|
||||
use Symfony\Component\HttpFoundation\Response;
|
||||
use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
/**
|
||||
* @Route("/tools")
|
||||
* @package App\Controller
|
||||
*/
|
||||
class ToolsController extends AbstractController
|
||||
{
|
||||
|
||||
/**
|
||||
* @Route("/reel_calc", name="tools_reel_calculator")
|
||||
* @return Response
|
||||
*/
|
||||
public function reelCalculator() : Response
|
||||
public function reelCalculator(): Response
|
||||
{
|
||||
$this->denyAccessUnlessGranted('@tools.reel_calculator');
|
||||
|
||||
return $this->render("Tools/ReelCalculator/main.html.twig");
|
||||
return $this->render('Tools/ReelCalculator/main.html.twig');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue