fix: SA: Split critical issues in its own file.

SA stands for Static Analysis.
This commit is contained in:
Pol Dellaiera
2021-11-16 13:55:55 +01:00
parent c68bda5c9b
commit 8ede116cf5
12 changed files with 333 additions and 380 deletions

View File

@@ -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);
}