MDL-66919 behat: fix typo in error message

Also fix a couple of phpdocs that were incorrect.
This commit is contained in:
Eloy Lafuente (stronk7)
2019-10-16 00:49:13 +02:00
parent f2d10a9bb9
commit 9eb88d21ba
+3 -3
View File
@@ -765,7 +765,7 @@ class behat_general extends behat_base {
* @Then :preelement :preselectortype should appear before :postelement :postselectortype in the :containerelement :containerselectortype
* @throws ExpectationException
* @param string $preelement The locator of the preceding element
* @param string $preselectortype The locator of the preceding element
* @param string $preselectortype The selector type of the preceding element
* @param string $postelement The locator of the latest element
* @param string $postselectortype The selector type of the latest element
* @param string $containerelement
@@ -779,7 +779,7 @@ class behat_general extends behat_base {
$containerelement = null,
$containerselectortype = null
) {
$msg = "'{$preelement}' '{$preselectortype}' does not appear after '{$postelement}' '{$postselectortype}'";
$msg = "'{$preelement}' '{$preselectortype}' does not appear before '{$postelement}' '{$postselectortype}'";
$this->check_element_order(
$containerelement,
$containerselectortype,
@@ -800,7 +800,7 @@ class behat_general extends behat_base {
* @param string $postelement The locator of the latest element
* @param string $postselectortype The selector type of the latest element
* @param string $preelement The locator of the preceding element
* @param string $preselectortype The locator of the preceding element
* @param string $preselectortype The selector type of the preceding element
* @param string $containerelement
* @param string $containerselectortype
*/