mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
fix sf4 error with PickPersonType (error in commit a92686d1
)
This commit is contained in:
@@ -41,6 +41,12 @@ use Chill\CustomFieldsBundle\Entity\CustomField;
|
||||
*/
|
||||
class PersonListWidget implements WidgetInterface
|
||||
{
|
||||
/**
|
||||
* Repository for persons
|
||||
*
|
||||
* @var EntityRepository
|
||||
*/
|
||||
protected $personRepository;
|
||||
|
||||
/**
|
||||
* The entity manager
|
||||
@@ -69,6 +75,7 @@ class PersonListWidget implements WidgetInterface
|
||||
protected $user;
|
||||
|
||||
public function __construct(
|
||||
EntityRepository $personRepostory,
|
||||
EntityManager $em,
|
||||
AuthorizationHelper $authorizationHelper,
|
||||
TokenStorage $tokenStorage
|
||||
|
Reference in New Issue
Block a user