Skip to content

Commit fabd736

Browse files
authored
test: fix generator.valueType error (#9531)
1 parent 402bbe9 commit fabd736

File tree

3 files changed

+1
-11
lines changed

3 files changed

+1
-11
lines changed

tests/system/Database/Builder/SelectTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use CodeIgniter\Database\SQLSRV\Builder as SQLSRVBuilder;
2020
use CodeIgniter\Test\CIUnitTestCase;
2121
use CodeIgniter\Test\Mock\MockConnection;
22-
use Generator;
2322
use PHPUnit\Framework\Attributes\DataProvider;
2423
use PHPUnit\Framework\Attributes\Group;
2524

@@ -83,7 +82,7 @@ public function testSelectAcceptsArrayWithRawSql(array $select, string $expected
8382
}
8483

8584
/**
86-
* @return Generator<list<RawSql|string>|string>
85+
* @return iterable<array{0: list<RawSql|string>, 1: string}>
8786
*/
8887
public static function provideSelectAcceptsArrayWithRawSql(): iterable
8988
{

utils/phpstan-baseline/generator.valueType.neon

Lines changed: 0 additions & 8 deletions
This file was deleted.

utils/phpstan-baseline/loader.neon

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ includes:
1010
- codeigniter.unknownServiceMethod.neon
1111
- deadCode.unreachable.neon
1212
- empty.notAllowed.neon
13-
- generator.valueType.neon
1413
- method.alreadyNarrowedType.neon
1514
- method.childParameterType.neon
1615
- method.childReturnType.neon

0 commit comments

Comments
 (0)