mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 13:03:50 +00:00
php cs fixes after updating php cs fixer
This commit is contained in:
@@ -47,7 +47,8 @@ final class PersonController extends AbstractController
|
||||
private readonly ConfigPersonAltNamesHelper $configPersonAltNameHelper,
|
||||
private readonly ValidatorInterface $validator,
|
||||
private readonly EntityManagerInterface $em,
|
||||
) {}
|
||||
) {
|
||||
}
|
||||
|
||||
/**
|
||||
* @\Symfony\Component\Routing\Annotation\Route(path="/{_locale}/person/{person_id}/general/edit", name="chill_person_general_edit")
|
||||
@@ -106,7 +107,7 @@ final class PersonController extends AbstractController
|
||||
$cFGroup = null;
|
||||
|
||||
$cFDefaultGroup = $this->em->getRepository(\Chill\CustomFieldsBundle\Entity\CustomFieldsDefaultGroup::class)
|
||||
->findOneByEntity(\Chill\PersonBundle\Entity\Person::class);
|
||||
->findOneByEntity(Person::class);
|
||||
|
||||
if ($cFDefaultGroup) {
|
||||
$cFGroup = $cFDefaultGroup->getCustomFieldsGroup();
|
||||
@@ -281,7 +282,7 @@ final class PersonController extends AbstractController
|
||||
/**
|
||||
* easy getting a person by his id.
|
||||
*
|
||||
* @return \Chill\PersonBundle\Entity\Person
|
||||
* @return Person
|
||||
*/
|
||||
private function _getPerson(int $id)
|
||||
{
|
||||
|
Reference in New Issue
Block a user