From 6e2e0e35720d494cad53a8b91f5a0d1da4adb873 Mon Sep 17 00:00:00 2001 From: Ahmad Tawila Date: Thu, 21 Nov 2024 18:08:42 +0200 Subject: [PATCH] Fix a mistake in the example code snippet --- docs/BDD.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/BDD.md b/docs/BDD.md index 94b2fd182..abf640754 100644 --- a/docs/BDD.md +++ b/docs/BDD.md @@ -403,7 +403,7 @@ Inside a step definition data is stored in argument passed as `\Behat\Gherkin\No public function iHaveProductsInCart(\Behat\Gherkin\Node\TableNode $products) { // iterate over all rows - foreach ($node->getRows() as $index => $row) { + foreach ($products->getRows() as $index => $row) { if ($index === 0) { // first row to define fields $keys = $row; continue; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy