diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-01 09:30:38 +0200 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2017-06-01 09:30:38 +0200 |
commit | 10bf812a9ed6364902eb0382fe261f3ec0ae7254 (patch) | |
tree | e8cb300e32d593ae3201483b2953172a1872808b /src/Wallabag | |
parent | c3f7a2ca707dbd43a8798cb3fcefe01333305d8b (diff) | |
download | wallabag-10bf812a9ed6364902eb0382fe261f3ec0ae7254.tar.gz wallabag-10bf812a9ed6364902eb0382fe261f3ec0ae7254.tar.zst wallabag-10bf812a9ed6364902eb0382fe261f3ec0ae7254.zip |
Both parameter wasn't used in the function, removing them
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/UserBundle/EventListener/CreateConfigListener.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php b/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php index 0bdd1cae..e4d55c19 100644 --- a/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php +++ b/src/Wallabag/UserBundle/EventListener/CreateConfigListener.php | |||
@@ -5,7 +5,6 @@ namespace Wallabag\UserBundle\EventListener; | |||
5 | use Doctrine\ORM\EntityManager; | 5 | use Doctrine\ORM\EntityManager; |
6 | use FOS\UserBundle\Event\UserEvent; | 6 | use FOS\UserBundle\Event\UserEvent; |
7 | use FOS\UserBundle\FOSUserEvents; | 7 | use FOS\UserBundle\FOSUserEvents; |
8 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; | ||
9 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; | 8 | use Symfony\Component\EventDispatcher\EventSubscriberInterface; |
10 | use Wallabag\CoreBundle\Entity\Config; | 9 | use Wallabag\CoreBundle\Entity\Config; |
11 | 10 | ||
@@ -47,7 +46,7 @@ class CreateConfigListener implements EventSubscriberInterface | |||
47 | ]; | 46 | ]; |
48 | } | 47 | } |
49 | 48 | ||
50 | public function createConfig(UserEvent $event, $eventName = null, EventDispatcherInterface $eventDispatcher = null) | 49 | public function createConfig(UserEvent $event) |
51 | { | 50 | { |
52 | $config = new Config($event->getUser()); | 51 | $config = new Config($event->getUser()); |
53 | $config->setTheme($this->theme); | 52 | $config->setTheme($this->theme); |