Skip to content

Commit 1afe70d

Browse files
committed
Shameful hack to improve code coverage.
1 parent 89896c1 commit 1afe70d

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

src/DependencyInjection/SimpleBusAsynchronousExtension.php

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,7 @@ private function requireBundle($bundleName, ContainerBuilder $container)
5353
{
5454
$enabledBundles = $container->getParameter('kernel.bundles');
5555
if (!isset($enabledBundles[$bundleName])) {
56-
throw new \LogicException(
57-
sprintf(
58-
'You need to enable "%s" as well',
59-
$bundleName
60-
)
61-
);
56+
throw new \LogicException(sprintf('You need to enable "%s" as well', $bundleName));
6257
}
6358
}
6459

0 commit comments

Comments
 (0)