mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
DX: apply rector rules up to php8.0
This commit is contained in:
@@ -135,7 +135,7 @@ class ReportController extends AbstractController
|
||||
*
|
||||
* @return Response The web page.
|
||||
*/
|
||||
public function editAction($person_id, $report_id)
|
||||
public function editAction(int|string $person_id, int|string $report_id)
|
||||
{
|
||||
$em = $this->getDoctrine()->getManager();
|
||||
|
||||
@@ -542,11 +542,10 @@ class ReportController extends AbstractController
|
||||
* Creates a form to create a Report entity.
|
||||
*
|
||||
* @param Report $entity The entity
|
||||
* @param mixed $cFGroup
|
||||
*
|
||||
* @return \Symfony\Component\Form\Form The form
|
||||
*/
|
||||
private function createCreateForm(Report $entity, Person $person, $cFGroup)
|
||||
private function createCreateForm(Report $entity, Person $person, mixed $cFGroup)
|
||||
{
|
||||
return $this->createForm(ReportType::class, $entity, [
|
||||
'action' => $this->generateUrl(
|
||||
|
Reference in New Issue
Block a user