Skip to content

Commit 3c71d7e

Browse files
committed
Merge branch '3.4' into 4.2
* 3.4: Update testing.rst
2 parents 358458a + f974b57 commit 3c71d7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

testing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ narrow down your node selection by chaining the method calls::
652652
$crawler
653653
->filter('h1')
654654
->reduce(function ($node, $i) {
655-
if (!$node->getAttribute('class')) {
655+
if (!$node->attr('class')) {
656656
return false;
657657
}
658658
})

0 commit comments

Comments
 (0)