Skip to content

Commit b2192cc

Browse files
W0rmaSidRoberts
andauthored
Fix use statement (#22)
Co-authored-by: Sid Roberts <sid@sidroberts.co.uk>
1 parent c27a027 commit b2192cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Util/Locator.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Locator
3838
*
3939
* ```php
4040
* <?php
41-
* use \Codeception\Util\Locator;
41+
* use Codeception\Util\Locator;
4242
*
4343
* $I->see('Title', Locator::combine('h1','h2','h3'));
4444
* ```
@@ -48,7 +48,7 @@ class Locator
4848
*
4949
* ```php
5050
* <?php
51-
* use \Codeception\Util\Locator;
51+
* use Codeception\Util\Locator;
5252
*
5353
* $I->fillField(Locator::combine('form input[type=text]','//form/textarea[2]'), 'qwerty');
5454
* ```
@@ -75,7 +75,7 @@ public static function combine(string $selector1, string $selector2): string
7575
*
7676
* ```php
7777
* <?php
78-
* use \Codeception\Util\Locator;
78+
* use Codeception\Util\Locator;
7979
*
8080
* $I->see('Log In', Locator::href('/login.php'));
8181
* ```
@@ -93,7 +93,7 @@ public static function href(string $url): string
9393
* You could try to match elements by their tab position using `tabIndex` method of `Locator` class.
9494
* ```php
9595
* <?php
96-
* use \Codeception\Util\Locator;
96+
* use Codeception\Util\Locator;
9797
*
9898
* $I->fillField(Locator::tabIndex(1), 'davert');
9999
* $I->fillField(Locator::tabIndex(2) , 'qwerty');
@@ -138,7 +138,7 @@ protected static function toXPath(string $selector): ?string
138138
*
139139
* ```php
140140
* <?php
141-
* use \Codeception\Util\Locator;
141+
* use Codeception\Util\Locator;
142142
*
143143
* $I->seeElement(Locator::find('img', ['title' => 'diagram']));
144144
* ```

0 commit comments

Comments
 (0)