We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7003d20 commit c015ee2Copy full SHA for c015ee2
docs/BDD.md
@@ -403,7 +403,7 @@ Inside a step definition data is stored in argument passed as `\Behat\Gherkin\No
403
public function iHaveProductsInCart(\Behat\Gherkin\Node\TableNode $products)
404
{
405
// iterate over all rows
406
- foreach ($node->getRows() as $index => $row) {
+ foreach ($products->getRows() as $index => $row) {
407
if ($index === 0) { // first row to define fields
408
$keys = $row;
409
continue;
0 commit comments