mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-29 18:14:59 +00:00
fix: SA: Split critical issues in its own file.
SA stands for Static Analysis.
This commit is contained in:
@@ -22,6 +22,8 @@ namespace Chill\PersonBundle\Widget\PersonListWidget;
|
||||
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use Chill\MainBundle\Entity\User;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Symfony\Component\Security\Core\User\UserInterface;
|
||||
|
||||
|
||||
/**
|
||||
@@ -78,8 +80,7 @@ interface PersonFilteringInterface
|
||||
}
|
||||
* ```
|
||||
*
|
||||
* @param EntityManager $em
|
||||
* @return int[] an array of persons id to show
|
||||
*/
|
||||
public function getPersonIds(EntityManager $em, User $user);
|
||||
public function getPersonIds(EntityManagerInterface $em, UserInterface $user);
|
||||
}
|
||||
|
Reference in New Issue
Block a user