diff vendor/symfony/var-dumper/Tests/Fixtures/Twig.php @ 17:129ea1e6d783

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:21:36 +0000
parents 4c8ae668cc8c
children
line wrap: on
line diff
--- a/vendor/symfony/var-dumper/Tests/Fixtures/Twig.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/var-dumper/Tests/Fixtures/Twig.php	Thu Feb 28 13:21:36 2019 +0000
@@ -11,11 +11,11 @@
             parent::__construct($env);
         }
         $this->parent = false;
-        $this->blocks = array();
+        $this->blocks = [];
         $this->path = $path;
     }
 
-    protected function doDisplay(array $context, array $blocks = array())
+    protected function doDisplay(array $context, array $blocks = [])
     {
         // line 2
         throw new \Exception('Foobar');
@@ -28,7 +28,7 @@
 
     public function getDebugInfo()
     {
-        return array(20 => 1, 21 => 2);
+        return [20 => 1, 21 => 2];
     }
 
     public function getSourceContext()