Skip to content

Commit 6c96214

Browse files
lyrixxOskarStark
andauthored
Apply suggestions from code review
Co-Authored-By: Oskar Stark <oskarstark@googlemail.com>
1 parent 5beae1d commit 6c96214

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/dom_crawler.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ Namespaces can be explicitly registered with the
167167

168168
.. versionadded:: 4.4
169169

170-
The method ``matches()`` was introduced in Symfony 4.4.
170+
The ``matches()`` method was introduced in Symfony 4.4.
171171

172172
Verify if the current node matches a selector::
173173

@@ -206,9 +206,9 @@ Get all the direct child nodes matching a CSS selector::
206206

207207
.. versionadded:: 4.4
208208

209-
The method ``closest()`` was introduced in Symfony 4.4.
209+
The ``closest()`` method was introduced in Symfony 4.4.
210210

211-
Get the first parents (heading toward the document root) of the Element that matches the provided selector.
211+
Get the first parents (heading toward the document root) of the Element that matches the provided selector::
212212

213213
$crawler->closest('p.lorem');
214214

@@ -356,7 +356,7 @@ and :phpclass:`DOMNode` objects::
356356

357357
.. versionadded:: 4.4
358358

359-
The method ``outerHtml()`` was introduced in Symfony 4.4.
359+
The ``outerHtml()`` method was introduced in Symfony 4.4.
360360

361361
$html = $crawler->outerHtml();
362362

0 commit comments

Comments
 (0)