Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Render / HtmlResponse.php
index 555e504cf6c4d5e47f097da74220475a4eb9495a..763696d109deec1c9a0c4d50389c174646541bcf 100644 (file)
@@ -31,9 +31,11 @@ class HtmlResponse extends Response implements CacheableResponseInterface, Attac
     // A render array can automatically be converted to a string and set the
     // necessary metadata.
     if (is_array($content) && (isset($content['#markup']))) {
-      $content += ['#attached' => [
-        'html_response_attachment_placeholders' => [],
-        'placeholders' => []],
+      $content += [
+        '#attached' => [
+          'html_response_attachment_placeholders' => [],
+          'placeholders' => [],
+        ],
       ];
       $this->addCacheableDependency(CacheableMetadata::createFromRenderArray($content));
       $this->setAttachments($content['#attached']);