Skip to content

Commit

Permalink
Update EventServiceProvider.php
Browse files Browse the repository at this point in the history
Signed-off-by: Nathanael Esayeas <nathanael.esayeas@protonmail.com>
  • Loading branch information
ghostwriter committed Jan 17, 2023
1 parent 2c2b7ae commit aecdccc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ServiceProvider/EventServiceProvider.php
Expand Up @@ -42,7 +42,7 @@ public function __invoke(ContainerInterface $container): void
ListenerProvider::class,
static function (ContainerInterface $container, object $listenerProvider): ListenerProvider {
/** @var ListenerProvider $listenerProvider */
$finder = $container->build(Finder::class);
$finder = clone $container->get(Finder::class);

$finder->files()
->in(dirname(__DIR__) . '/Listener/')
Expand Down

0 comments on commit aecdccc

Please sign in to comment.