From 2224d4f28bda1017d4ee8274ed740033b75df7f6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9odore=20BIADALA?= <theodore@biadala.net>
Date: Wed, 14 Aug 2024 21:27:42 +0200
Subject: [PATCH] fix phpstan

---
 .../src/FunctionalJavascript/CKEditorStylesheetsWarningTest.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditorStylesheetsWarningTest.php b/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditorStylesheetsWarningTest.php
index b6422ce90b5c..6d9571e15013 100644
--- a/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditorStylesheetsWarningTest.php
+++ b/core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditorStylesheetsWarningTest.php
@@ -44,7 +44,7 @@ public function installThemeThatTriggersWarning($theme) {
   public function testWarningFilterUi($theme, $expected_warning): void {
     $page = $this->getSession()->getPage();
     $assert_session = $this->assertSession();
-    $this->addNewTextFormat($page, $assert_session);
+    $this->addNewTextFormat();
     $this->drupalGet('admin/config/content/formats/manage/ckeditor5');
 
     $assert_session->pageTextNotContains($expected_warning);
-- 
GitLab