mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 13:03:50 +00:00
update php-cs-fixer and rector + fix rules
This commit is contained in:
@@ -37,7 +37,7 @@ class PersonAddressController extends AbstractController
|
||||
public function createAction(mixed $person_id, Request $request)
|
||||
{
|
||||
$person = $this->managerRegistry->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->getRepository(Person::class)
|
||||
->find($person_id);
|
||||
|
||||
if (null === $person) {
|
||||
@@ -94,7 +94,7 @@ class PersonAddressController extends AbstractController
|
||||
public function editAction(mixed $person_id, mixed $address_id)
|
||||
{
|
||||
$person = $this->managerRegistry->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->getRepository(Person::class)
|
||||
->find($person_id);
|
||||
|
||||
if (null === $person) {
|
||||
@@ -124,7 +124,7 @@ class PersonAddressController extends AbstractController
|
||||
public function listAction(mixed $person_id)
|
||||
{
|
||||
$person = $this->managerRegistry->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->getRepository(Person::class)
|
||||
->find($person_id);
|
||||
|
||||
if (null === $person) {
|
||||
@@ -148,7 +148,7 @@ class PersonAddressController extends AbstractController
|
||||
public function newAction(mixed $person_id)
|
||||
{
|
||||
$person = $this->managerRegistry->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->getRepository(Person::class)
|
||||
->find($person_id);
|
||||
|
||||
if (null === $person) {
|
||||
@@ -177,7 +177,7 @@ class PersonAddressController extends AbstractController
|
||||
public function updateAction(mixed $person_id, mixed $address_id, Request $request)
|
||||
{
|
||||
$person = $this->managerRegistry->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)
|
||||
->getRepository(Person::class)
|
||||
->find($person_id);
|
||||
|
||||
if (null === $person) {
|
||||
|
Reference in New Issue
Block a user