Skip to content

Commit

Permalink
[TwigComponent] Adding missing filter call in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan authored Dec 27, 2023
1 parent 4cee6ac commit 615c402
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwigComponent/doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 615c402

Please sign in to comment.