mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-18 03:09:49 +01:00
Both parameter wasn't used in the function, removing them
This commit is contained in:
parent
c3f7a2ca70
commit
10bf812a9e
@ -5,7 +5,6 @@ namespace Wallabag\UserBundle\EventListener;
|
||||
use Doctrine\ORM\EntityManager;
|
||||
use FOS\UserBundle\Event\UserEvent;
|
||||
use FOS\UserBundle\FOSUserEvents;
|
||||
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
|
||||
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
|
||||
use Wallabag\CoreBundle\Entity\Config;
|
||||
|
||||
@ -47,7 +46,7 @@ class CreateConfigListener implements EventSubscriberInterface
|
||||
];
|
||||
}
|
||||
|
||||
public function createConfig(UserEvent $event, $eventName = null, EventDispatcherInterface $eventDispatcher = null)
|
||||
public function createConfig(UserEvent $event)
|
||||
{
|
||||
$config = new Config($event->getUser());
|
||||
$config->setTheme($this->theme);
|
||||
|
Loading…
Reference in New Issue
Block a user