mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX [php-cs-fixer]
This commit is contained in:
parent
dad36927f3
commit
6e618e688b
@ -650,8 +650,8 @@ final class ActivityController extends AbstractController
|
|||||||
throw $this->createNotFoundException('Accompanying Period not found');
|
throw $this->createNotFoundException('Accompanying Period not found');
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO Add permission
|
// TODO Add permission
|
||||||
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
|
// $this->denyAccessUnlessGranted('CHILL_PERSON_SEE', $person);
|
||||||
} else {
|
} else {
|
||||||
throw $this->createNotFoundException('Person or Accompanying Period not found');
|
throw $this->createNotFoundException('Person or Accompanying Period not found');
|
||||||
}
|
}
|
||||||
|
@ -26,12 +26,12 @@ final class PersonMenuBuilder implements LocalMenuBuilderInterface
|
|||||||
/**
|
/**
|
||||||
* @var AuthorizationCheckerInterface
|
* @var AuthorizationCheckerInterface
|
||||||
*/
|
*/
|
||||||
protected $authorizationChecker;
|
private $authorizationChecker;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var TranslatorInterface
|
* @var TranslatorInterface
|
||||||
*/
|
*/
|
||||||
protected $translator;
|
private $translator;
|
||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
AuthorizationCheckerInterface $authorizationChecker,
|
AuthorizationCheckerInterface $authorizationChecker,
|
||||||
|
@ -264,7 +264,7 @@ class PersonDuplicateController extends Controller
|
|||||||
|
|
||||||
$nb_activity = $em->getRepository(Activity::class)->findBy(['person' => $id]);
|
$nb_activity = $em->getRepository(Activity::class)->findBy(['person' => $id]);
|
||||||
$nb_document = $em->getRepository(PersonDocument::class)->findBy(['person' => $id]);
|
$nb_document = $em->getRepository(PersonDocument::class)->findBy(['person' => $id]);
|
||||||
// $nb_event = $em->getRepository(Participation::class)->findBy(['person' => $id]);
|
// $nb_event = $em->getRepository(Participation::class)->findBy(['person' => $id]);
|
||||||
$nb_task = $em->getRepository(SingleTask::class)->countByParameters(['person' => $id]);
|
$nb_task = $em->getRepository(SingleTask::class)->countByParameters(['person' => $id]);
|
||||||
$person = $em->getRepository(Person::class)->findOneBy(['id' => $id]);
|
$person = $em->getRepository(Person::class)->findOneBy(['id' => $id]);
|
||||||
|
|
||||||
|
@ -117,7 +117,7 @@ class ThirdPartyType extends AbstractType
|
|||||||
'label' => 'thirdparty.Contact data are confidential',
|
'label' => 'thirdparty.Contact data are confidential',
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// Institutional ThirdParty (parent)
|
// Institutional ThirdParty (parent)
|
||||||
} else {
|
} else {
|
||||||
$builder
|
$builder
|
||||||
->add('nameCompany', TextType::class, [
|
->add('nameCompany', TextType::class, [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user