chore: code cleanup
This commit is contained in:
1 parent
c4e28818e0
commit
e36009008c
273 files changed
+547
-531
No files matched your search
@@ -16,7 +16,7 @@ class CreateController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly EntityManagerInterface $entityManager,
|
||||
private readonly LoggerInterface $logger
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ class CreateController extends AbstractController
|
||||
}
|
||||
|
||||
return $this->render('admin/system/job_profile/create.html.twig', [
|
||||
'form' => $form
|
||||
'form' => $form,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@ class DeleteController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly EntityManagerInterface $entityManager,
|
||||
private readonly LoggerInterface $logger
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -41,4 +41,4 @@ class DeleteController extends AbstractController
|
||||
'jobProfile' => $jobProfile,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -16,7 +16,7 @@ class EditController extends AbstractController
|
||||
{
|
||||
public function __construct(
|
||||
private readonly EntityManagerInterface $entityManager,
|
||||
private readonly LoggerInterface $logger
|
||||
private readonly LoggerInterface $logger,
|
||||
) {
|
||||
}
|
||||
|
||||
@@ -40,7 +40,7 @@ class EditController extends AbstractController
|
||||
}
|
||||
|
||||
return $this->render('admin/system/job_profile/edit.html.twig', [
|
||||
'form' => $form
|
||||
'form' => $form,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -11,7 +11,8 @@ use Symfony\Component\Security\Http\Attribute\IsGranted;
|
||||
class IndexController extends AbstractController
|
||||
{
|
||||
public function __construct(private readonly JobProfileRepository $jobProfileRepository)
|
||||
{}
|
||||
{
|
||||
}
|
||||
|
||||
#[Route('/admin/system/job-profile', name: 'app_admin_system_job_profile_index')]
|
||||
#[IsGranted('ROLE_ADMIN')]
|
||||
@@ -26,4 +27,4 @@ class IndexController extends AbstractController
|
||||
'jobProfiles' => $jobProfiles,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user