Skip to content

Commit

Permalink
Merge branch '3.4' into 4.2
Browse files Browse the repository at this point in the history
* 3.4:
  Update testing.rst
  • Loading branch information
javiereguiluz committed May 17, 2019
2 parents 358458a + f974b57 commit 3c71d7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ narrow down your node selection by chaining the method calls::
$crawler
->filter('h1')
->reduce(function ($node, $i) {
if (!$node->getAttribute('class')) {
if (!$node->attr('class')) {
return false;
}
})
Expand Down

0 comments on commit 3c71d7e

Please sign in to comment.