mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 13:03:50 +00:00
Apply rector rules + fix CS
This commit is contained in:
@@ -42,9 +42,8 @@ class PersonAddressController extends AbstractController
|
||||
|
||||
/**
|
||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/address/create", name="chill_person_address_create", methods={"POST"})
|
||||
* @param mixed $person_id
|
||||
*/
|
||||
public function createAction($person_id, Request $request)
|
||||
public function createAction(mixed $person_id, Request $request)
|
||||
{
|
||||
$person = $this->getDoctrine()->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
@@ -101,10 +100,8 @@ class PersonAddressController extends AbstractController
|
||||
|
||||
/**
|
||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/address/{address_id}/edit", name="chill_person_address_edit")
|
||||
* @param mixed $person_id
|
||||
* @param mixed $address_id
|
||||
*/
|
||||
public function editAction($person_id, $address_id)
|
||||
public function editAction(mixed $person_id, mixed $address_id)
|
||||
{
|
||||
$person = $this->getDoctrine()->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
@@ -134,9 +131,8 @@ class PersonAddressController extends AbstractController
|
||||
|
||||
/**
|
||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/address/list", name="chill_person_address_list")
|
||||
* @param mixed $person_id
|
||||
*/
|
||||
public function listAction($person_id)
|
||||
public function listAction(mixed $person_id)
|
||||
{
|
||||
$person = $this->getDoctrine()->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
@@ -160,9 +156,8 @@ class PersonAddressController extends AbstractController
|
||||
|
||||
/**
|
||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/address/new", name="chill_person_address_new")
|
||||
* @param mixed $person_id
|
||||
*/
|
||||
public function newAction($person_id)
|
||||
public function newAction(mixed $person_id)
|
||||
{
|
||||
$person = $this->getDoctrine()->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
@@ -191,10 +186,8 @@ class PersonAddressController extends AbstractController
|
||||
|
||||
/**
|
||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/address/{address_id}/update", name="chill_person_address_update")
|
||||
* @param mixed $person_id
|
||||
* @param mixed $address_id
|
||||
*/
|
||||
public function updateAction($person_id, $address_id, Request $request)
|
||||
public function updateAction(mixed $person_id, mixed $address_id, Request $request)
|
||||
{
|
||||
$person = $this->getDoctrine()->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
|
Reference in New Issue
Block a user