DX: apply rector rules up to php8.0

This commit is contained in:
2023-04-15 01:05:37 +02:00
parent d8870e906f
commit dde3002100
714 changed files with 2348 additions and 9263 deletions

View File

@@ -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(