Skip to content

Commit

Permalink
Fix wrong capitalisation of driver options in extension
Browse files Browse the repository at this point in the history
  • Loading branch information
JaworskiLukasz authored and alcaeus committed Sep 24, 2019
1 parent df2b8a6 commit 1f93510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/DoctrineMongoDBExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ protected function loadConnections(array $connections, ContainerBuilder $contain
*/
private function normalizeDriverOptions(array $connection)
{
$driverOptions = $connection['driverOptions'] ?? [];
$driverOptions = $connection['driver_options'] ?? [];
$driverOptions['typeMap'] = DocumentManager::CLIENT_TYPEMAP;

if (isset($driverOptions['context'])) {
Expand Down

0 comments on commit 1f93510

Please sign in to comment.