Skip to content

Commit

Permalink
Fix replaceArgument
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Marfoldi committed Dec 16, 2022
1 parent 68bb5ac commit be0c0e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DependencyInjection/PetitPressGpsMessengerExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function load(array $configs, ContainerBuilder $container): void
$gpsTransportFactoryDefinition->replaceArgument(1, new Reference($config['auth_cache']));
}
if (isset($config['forced_transport'])) {
$gpsTransportFactoryDefinition->replaceArgument(2, new Reference($config['forced_transport']));
$gpsTransportFactoryDefinition->replaceArgument(2, $config['forced_transport']);
}
}
}

0 comments on commit be0c0e9

Please sign in to comment.