Skip to content

Commit 8100b79

Browse files
committed
Merge pull request #3301 from ifdattic/patch-1
Move curly bracket to be on the same line
2 parents 6612fb6 + a5ba84d commit 8100b79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

book/testing.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,7 @@ The Crawler can extract information from the nodes::
560560
$info = $crawler->extract(array('_text', 'href'));
561561

562562
// Executes a lambda for each node and return an array of results
563-
$data = $crawler->each(function ($node, $i)
564-
{
563+
$data = $crawler->each(function ($node, $i) {
565564
return $node->attr('href');
566565
});
567566

0 commit comments

Comments
 (0)