From 664d22d1f751ac68acaf6e8dc0f69390157af7e7 Mon Sep 17 00:00:00 2001 From: Maxime Rainville Date: Thu, 1 Jun 2023 13:28:17 +1200 Subject: [PATCH] BUG Explicitly name all parameters on theTextBeforeAfter --- 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