Skip to content
This repository has been archived by the owner on Jun 24, 2019. It is now read-only.

Commit

Permalink
Use correct bundle prefix for serivices and parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jan 19, 2018
1 parent 72099c0 commit 5fe7cdd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function load(array $configs, ContainerBuilder $container): void
$loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
$loader->load('services.xml');

$container->getDefinition('core23.monolog.activation_strategy.client_error')
$container->getDefinition('core23_monolog.activation_strategy.client_error')
->replaceArgument(1, $config['handlers']['excluded_404s'])
->replaceArgument(2, $config['handlers']['action_level']);
}
Expand Down
2 changes: 1 addition & 1 deletion src/Bridge/Symfony/Resources/config/services.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<container xmlns="http://symfony.com/schema/dic/services" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">
<services>
<service id="core23.monolog.activation_strategy.client_error" class="Core23\MonologFilters\Handler\FingersCrossed\ClientErrorActivationStrategy" public="true">
<service id="core23_monolog.activation_strategy.client_error" class="Core23\MonologFilters\Handler\FingersCrossed\ClientErrorActivationStrategy" public="true">
<argument type="service" id="request_stack"/>
<argument/>
<argument type="collection"/>
Expand Down

0 comments on commit 5fe7cdd

Please sign in to comment.