mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-04 16:31:23 +00:00
update php-cs-fixer and rector + fix rules
This commit is contained in:
@@ -106,7 +106,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 +281,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