From dd2146fd6525a7e49a048fb925edddf763ce7072 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Thu, 1 Jun 2023 13:42:47 +1200 Subject: [PATCH] BUG Explicitly name all parameters on theTextBeforeAfter (#242) --- src/Context/BasicContext.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Context/BasicContext.php b/src/Context/BasicContext.php index 49335a8..2ed1dd6 100644 --- a/src/Context/BasicContext.php +++ b/src/Context/BasicContext.php @@ -1068,7 +1068,7 @@ JS; /** * Checks the order of two texts. * Assumptions: the two texts appear in their conjunct parent element once - * @Then /^I should see the text "(?P(?:[^"]|\\")*)" (before|after) the text "(?P(?:[^"]|\\")*)" in the "(?P[^"]*)" element$/ + * @Then /^I should see the text "(?P(?:[^"]|\\")*)" (?P(before|after)) the text "(?P(?:[^"]|\\")*)" in the "(?P[^"]*)" element$/ * @param string $textBefore * @param string $order * @param string $textAfter