From 766177302efbf16c0d1623805b23f38c7931e233 Mon Sep 17 00:00:00 2001 From: Alex Pott <alex.a.pott@googlemail.com> Date: Thu, 26 Sep 2024 16:15:48 +0200 Subject: [PATCH] Issue #3471949 by mstrelan: Allow passing MarkupInterface to AssertContentTrait::setRawContent --- core/tests/Drupal/KernelTests/AssertContentTrait.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/tests/Drupal/KernelTests/AssertContentTrait.php b/core/tests/Drupal/KernelTests/AssertContentTrait.php index 223d5ea662c0..84884e674b24 100644 --- a/core/tests/Drupal/KernelTests/AssertContentTrait.php +++ b/core/tests/Drupal/KernelTests/AssertContentTrait.php @@ -56,7 +56,7 @@ protected function getRawContent() { /** * Sets the raw content (e.g. HTML). * - * @param string $content + * @param string|\Stringable $content * The raw content to set. */ protected function setRawContent($content) { -- GitLab