mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
update php-cs-fixer and rector + fix rules
This commit is contained in:
@@ -432,7 +432,7 @@ class AccompanyingPeriodController extends AbstractController
|
||||
private function _getPerson(int $id): Person
|
||||
{
|
||||
$person = $this->managerRegistry->getManager()
|
||||
->getRepository(\Chill\PersonBundle\Entity\Person::class)->find($id);
|
||||
->getRepository(Person::class)->find($id);
|
||||
|
||||
if (null === $person) {
|
||||
throw $this->createNotFoundException('Person not found');
|
||||
|
Reference in New Issue
Block a user