File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ public function expand_shortcodes_registered_in_different_ways(string $shortcode
3737 self ::assertSame ('test foo=bar ' , $ this ->processShortcodes ("[ $ shortcodeName foo=bar] " ));
3838 }
3939
40- public function provideShortcodeNames (): Generator
40+ public static function provideShortcodeNames (): Generator
4141 {
4242 yield 'Inline shortcode defined in bundle config ' => ['test-config-inline ' ];
4343 yield 'ESI-based shortcode defined in bundle config ' => ['test-config-esi ' ];
@@ -58,7 +58,7 @@ public function processing_with_esi_fragments(string $shortcodeName): void
5858 self ::assertStringContainsString ('<esi:include ' , $ this ->processShortcodes ("[ $ shortcodeName foo=bar] " , $ request ));
5959 }
6060
61- public function provideEsiShortcodes (): Generator
61+ public static function provideEsiShortcodes (): Generator
6262 {
6363 yield 'ESI-based shortcode defined in bundle configuration ' => ['test-config-esi ' ];
6464 yield 'ESI-based shortcode defined in service configuration ' => ['test-service-esi ' ];
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public function expand_shortcode_in__twig(string $shortcodeName): void
4343 self ::assertSame ('test foo=bar ' , $ result );
4444 }
4545
46- public function provideShortcodeNames (): Generator
46+ public static function provideShortcodeNames (): Generator
4747 {
4848 yield 'Inline shortcode defined in bundle config ' => ['test-config-inline ' ];
4949 yield 'ESI-based shortcode defined in bundle config ' => ['test-config-esi ' ];
@@ -66,7 +66,7 @@ public function uses_esi_fragments(string $shortcodeName): void
6666 self ::assertStringContainsString ('<esi:include ' , $ result );
6767 }
6868
69- public function provideEsiShortcodes (): Generator
69+ public static function provideEsiShortcodes (): Generator
7070 {
7171 yield 'ESI-based shortcode defined in bundle configuration ' => ['test-config-esi ' ];
7272 yield 'ESI-based shortcode defined in service configuration ' => ['test-service-esi ' ];
You can’t perform that action at this time.
0 commit comments