Commit d89a17dc authored by webchick's avatar webchick
Browse files

Issue #1893800 by Berdir: Alias Symfony's ContainerBuilder in UpdateBundle to prevent conflicts.

parent 2575651a
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
namespace Drupal\Core\DependencyInjection; namespace Drupal\Core\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ContainerBuilder as SymfonyContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle; use Symfony\Component\HttpKernel\Bundle\Bundle;
/** /**
...@@ -22,7 +22,7 @@ class UpdateBundle extends Bundle { ...@@ -22,7 +22,7 @@ class UpdateBundle extends Bundle {
/** /**
* Implements \Symfony\Component\HttpKernel\Bundle\BundleInterface::build(). * Implements \Symfony\Component\HttpKernel\Bundle\BundleInterface::build().
*/ */
public function build(ContainerBuilder $container) { public function build(SymfonyContainerBuilder $container) {
// Disable the Lock service. // Disable the Lock service.
$container $container
->register('lock', 'Drupal\Core\Lock\NullLockBackend'); ->register('lock', 'Drupal\Core\Lock\NullLockBackend');
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment