diff vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 1fec387a4317
children
line wrap: on
line diff
--- a/vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php	Thu Feb 28 13:21:36 2019 +0000
@@ -26,8 +26,8 @@
     /**
      * @deprecated since version 3.3, to be removed in 4.0
      */
-    private $rendererIds = array();
-    private $initialized = array();
+    private $rendererIds = [];
+    private $initialized = [];
 
     /**
      * @param ContainerInterface $container    A container
@@ -38,7 +38,7 @@
     {
         $this->container = $container;
 
-        parent::__construct($requestStack, array(), $debug);
+        parent::__construct($requestStack, [], $debug);
     }
 
     /**
@@ -59,7 +59,7 @@
     /**
      * {@inheritdoc}
      */
-    public function render($uri, $renderer = 'inline', array $options = array())
+    public function render($uri, $renderer = 'inline', array $options = [])
     {
         // BC 3.x, to be removed in 4.0
         if (isset($this->rendererIds[$renderer])) {