Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / simpletest / src / AssertContentTrait.php
index 5a6c8c06ef5ed68c78fec8ff82650967a607d345..3c33e5879fe1c866ce32f0635758546a141703f6 100644 (file)
@@ -874,7 +874,7 @@ trait AssertContentTrait {
     // The string cast is necessary because theme functions return
     // MarkupInterface objects. This means we can assert that $expected
     // matches the theme output without having to worry about 0 == ''.
-    $output = (string) $renderer->executeInRenderContext(new RenderContext(), function() use ($callback, $variables) {
+    $output = (string) $renderer->executeInRenderContext(new RenderContext(), function () use ($callback, $variables) {
       return \Drupal::theme()->render($callback, $variables);
     });
     $this->verbose(