From 680eafa101bbd293841d8ddc316143a694a6ac7c Mon Sep 17 00:00:00 2001 From: Fabian Schmick Date: Mon, 14 Oct 2024 11:20:52 +0000 Subject: [PATCH] Fix merge issue --- tests/Functional/EmbeddedShortcodeHandlerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Functional/EmbeddedShortcodeHandlerTest.php b/tests/Functional/EmbeddedShortcodeHandlerTest.php index fe1d480..0325fa4 100644 --- a/tests/Functional/EmbeddedShortcodeHandlerTest.php +++ b/tests/Functional/EmbeddedShortcodeHandlerTest.php @@ -41,7 +41,7 @@ public function expand_shortcodes_registered_in_different_ways(string $shortcode self::assertSame('test foo=bar', $this->processShortcodes("[$shortcodeName foo=bar]")); } - public function provideShortcodeNames(): Generator + public static function provideShortcodeNames(): Generator { yield 'Inline shortcode defined in bundle config' => ['test-config-inline']; yield 'ESI-based shortcode defined in bundle config' => ['test-config-esi']; @@ -62,7 +62,7 @@ public function processing_with_esi_fragments(string $shortcodeName): void self::assertStringContainsString('processShortcodes("[$shortcodeName foo=bar]", $request)); } - public function provideEsiShortcodes(): Generator + public static function provideEsiShortcodes(): Generator { yield 'ESI-based shortcode defined in bundle configuration' => ['test-config-esi']; yield 'ESI-based shortcode defined in service configuration' => ['test-service-esi'];