Skip to content
Snippets Groups Projects
Commit d89a17dc authored by Angie Byron's avatar Angie Byron
Browse files

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

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