Skip to content

Commit

Permalink
Update MonologExtension.php
Browse files Browse the repository at this point in the history
Change 'MongoClient'  Definition to 'MongoDB\Client' - Fixes #420
  • Loading branch information
cimo23 committed Nov 19, 2021
1 parent fde12fc commit 02c4ae1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/MonologExtension.php
Expand Up @@ -279,7 +279,7 @@ private function buildHandler(ContainerBuilder $container, $name, array $handler

$server .= $handler['mongo']['host'].':'.$handler['mongo']['port'];

$client = new Definition('MongoClient', [
$client = new Definition('MongoDB\Client', [
$server,
]);

Expand Down

0 comments on commit 02c4ae1

Please sign in to comment.