Skip to content

Commit 13d5745

Browse files
committed
Reached phpstan level 5
1 parent 68bb678 commit 13d5745

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
run: phpcs src/ tests/
3131

3232
- name: Static analysis
33-
run: phpstan analyze src/ tests/
33+
run: phpstan analyze --level=5 src/ tests/
3434

3535
- name: Run tests
3636
run: ./vendor/bin/phpunit tests/

src/Lib/Interfaces/ElementLocator.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
namespace Codeception\Lib\Interfaces;
44

5-
use Symfony\Component\DomCrawler\Crawler;
6-
75
interface ElementLocator
86
{
97
/**
@@ -27,7 +25,6 @@ interface ElementLocator
2725
* WebDriver module returns `Facebook\WebDriver\Remote\RemoteWebElement` instances
2826
* PhpBrowser and Framework modules return `Symfony\Component\DomCrawler\Crawler` instances
2927
*
30-
* @return Crawler|array of interactive elements
3128
* @api
3229
*/
3330
public function _findElements(mixed $locator): iterable;

0 commit comments

Comments
 (0)