[DomCrawler] fixed typo in phpdoc

This commit is contained in:
Fabien Potencier 2011-04-03 22:23:52 +02:00
parent 5d143c4aac
commit 91a2f36850

View File

@ -238,7 +238,7 @@ class Crawler extends \SplObjectStorage
*
* Example:
*
* $crawler->filter('h1')->each(function ($i, $node)
* $crawler->filter('h1')->each(function ($node, $i)
* {
* return $node->nodeValue;
* });