diff vendor/symfony/http-kernel/HttpCache/Ssi.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/http-kernel/HttpCache/Ssi.php	Tue Jul 10 15:07:59 2018 +0100
+++ b/vendor/symfony/http-kernel/HttpCache/Ssi.php	Thu Feb 28 13:21:36 2019 +0000
@@ -58,7 +58,7 @@
         }
 
         $parts = explode(';', $type);
-        if (!in_array($parts[0], $this->contentTypes)) {
+        if (!\in_array($parts[0], $this->contentTypes)) {
             return $response;
         }
 
@@ -70,7 +70,7 @@
 
         $i = 1;
         while (isset($chunks[$i])) {
-            $options = array();
+            $options = [];
             preg_match_all('/(virtual)="([^"]*?)"/', $chunks[$i], $matches, PREG_SET_ORDER);
             foreach ($matches as $set) {
                 $options[$set[1]] = $set[2];