Skip to content

Commit 4c02cf5

Browse files
authored
Merge pull request #7 from Codeception/1.x
1.x
2 parents f488ff9 + e493a22 commit 4c02cf5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Lib/Interfaces/Web.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -577,15 +577,15 @@ public function dontSeeInFormFields($formSelector, array $params): void;
577577
*
578578
* ``` php
579579
* <?php
580-
* $I->selectOption('Which OS do you use?', array('Windows','Linux'));
580+
* $I->selectOption('Which OS do you use?', ['Windows', 'Linux']);
581581
* ```
582582
*
583583
* Or provide an associative array for the second argument to specifically define which selection method should be used:
584584
*
585585
* ``` php
586586
* <?php
587-
* $I->selectOption('Which OS do you use?', array('text' => 'Windows')); // Only search by text 'Windows'
588-
* $I->selectOption('Which OS do you use?', array('value' => 'windows')); // Only search by value 'windows'
587+
* $I->selectOption('Which OS do you use?', ['text' => 'Windows']); // Only search by text 'Windows'
588+
* $I->selectOption('Which OS do you use?', ['value' => 'windows']); // Only search by value 'windows'
589589
* ```
590590
*/
591591
public function selectOption($select, $option): void;

0 commit comments

Comments
 (0)