Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8100b79

Browse files
committed
Merge pull requestsymfony#3301 from ifdattic/patch-1
Move curly bracket to be on the same line
2 parents6612fb6 +a5ba84d commit8100b79

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎book/testing.rst

Lines changed: 1 addition & 2 deletions
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)

[8]ページ先頭

©2009-2025 Movatter.jp