Skip to content

Commit

Permalink
CS.
Browse files Browse the repository at this point in the history
  • Loading branch information
neomerx committed Jul 25, 2018
1 parent 4371d36 commit a02a05b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/Package/EventsContainerConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,12 @@ public static function configureContainer(LimoncelloContainerInterface $containe
};

$container[EventEmitterInterface::class] =
function (PsrContainerInterface $container) use ($getOrCreateEmitter): EventEmitterInterface
{
function (PsrContainerInterface $container) use ($getOrCreateEmitter): EventEmitterInterface {
return call_user_func($getOrCreateEmitter, $container);
};

$container[EventDispatcherInterface::class] =
function (PsrContainerInterface $container) use ($getOrCreateEmitter): EventDispatcherInterface
{
function (PsrContainerInterface $container) use ($getOrCreateEmitter): EventDispatcherInterface {
return call_user_func($getOrCreateEmitter, $container);
};
}
Expand Down

0 comments on commit a02a05b

Please sign in to comment.