mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-05 07:19:49 +00:00
Use interface instead of concrete implementation.
This commit is contained in:
parent
1f488109e3
commit
11036e84f6
@ -40,6 +40,7 @@ use Symfony\Component\Console\Question\ConfirmationQuestion;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\EventDispatcher\Event;
|
||||
use Symfony\Component\Form\FormFactory;
|
||||
use Symfony\Component\Form\FormFactoryInterface;
|
||||
|
||||
/**
|
||||
* Class ImportPeopleFromCSVCommand
|
||||
@ -130,7 +131,7 @@ class ImportPeopleFromCSVCommand extends Command
|
||||
protected static $defaultDateInterpreter = "%d/%m/%Y|%e/%m/%y|%d/%m/%Y|%e/%m/%Y";
|
||||
|
||||
/**
|
||||
* @var FormFactory
|
||||
* @var FormFactoryInterface
|
||||
*/
|
||||
protected $formFactory;
|
||||
|
||||
@ -142,7 +143,7 @@ class ImportPeopleFromCSVCommand extends Command
|
||||
* @param EntityManagerInterface $em
|
||||
* @param CustomFieldProvider $customFieldProvider
|
||||
* @param EventDispatcherInterface $eventDispatcher
|
||||
* @param FormFactory $formFactory
|
||||
* @param FormFactoryInterface $formFactory
|
||||
*/
|
||||
public function __construct(
|
||||
LoggerInterface $logger,
|
||||
@ -150,7 +151,7 @@ class ImportPeopleFromCSVCommand extends Command
|
||||
EntityManagerInterface $em,
|
||||
CustomFieldProvider $customFieldProvider,
|
||||
EventDispatcherInterface $eventDispatcher,
|
||||
FormFactory $formFactory
|
||||
FormFactoryInterface $formFactory
|
||||
) {
|
||||
$this->logger = $logger;
|
||||
$this->helper = $helper;
|
||||
|
Loading…
x
Reference in New Issue
Block a user