mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-11 01:39:50 +01:00
Applied rector rules up to symfony 6.2
This commit is contained in:
@@ -48,9 +48,7 @@ use Symfony\Component\Routing\Annotation\Route;
|
||||
|
||||
class StatisticsController extends AbstractController
|
||||
{
|
||||
/**
|
||||
* @Route("/statistics", name="statistics_view")
|
||||
*/
|
||||
#[Route(path: '/statistics', name: 'statistics_view')]
|
||||
public function showStatistics(StatisticsHelper $helper): Response
|
||||
{
|
||||
$this->denyAccessUnlessGranted('@tools.statistics');
|
||||
|
||||
Reference in New Issue
Block a user