From 615c40241c2f8097d513facc6a70f15063010f99 Mon Sep 17 00:00:00 2001 From: Ryan Weaver Date: Wed, 27 Dec 2023 10:05:27 -0500 Subject: [PATCH] [TwigComponent] Adding missing filter call in docs --- src/TwigComponent/doc/index.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TwigComponent/doc/index.rst b/src/TwigComponent/doc/index.rst index 9a65a14f871..7890f6bbdb0 100644 --- a/src/TwigComponent/doc/index.rst +++ b/src/TwigComponent/doc/index.rst @@ -980,7 +980,7 @@ You can test how your component is mounted and rendered using the $this->assertStringContainsString('bar', $rendered); // use the crawler - $this->assertCount(5, $rendered->crawler('ul li')); + $this->assertCount(5, $rendered->crawler->filter('ul li')); } public function testEmbeddedComponentRenders(): void