Skip to content

Commit

Permalink
Merge pull request #9378 from neznaika0/refactor/phpstan-generator-re…
Browse files Browse the repository at this point in the history
…turn-type

refactor: Fix phpstan generator.returnType
  • Loading branch information
samsonasik authored Jan 5, 2025
2 parents 33110c5 + f61361d commit d809c3c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
3 changes: 2 additions & 1 deletion tests/system/Database/Builder/SelectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use CodeIgniter\Database\SQLSRV\Builder as SQLSRVBuilder;
use CodeIgniter\Test\CIUnitTestCase;
use CodeIgniter\Test\Mock\MockConnection;
use Generator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Group;

Expand Down Expand Up @@ -82,7 +83,7 @@ public function testSelectAcceptsArrayWithRawSql(array $select, string $expected
}

/**
* @return list<list<RawSql|string>|string>
* @return Generator<list<RawSql|string>|string>
*/
public static function provideSelectAcceptsArrayWithRawSql(): iterable
{
Expand Down
8 changes: 0 additions & 8 deletions utils/phpstan-baseline/generator.returnType.neon

This file was deleted.

1 change: 0 additions & 1 deletion utils/phpstan-baseline/loader.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ includes:
- expr.resultUnused.neon
- function.alreadyNarrowedType.neon
- function.inner.neon
- generator.returnType.neon
- generator.valueType.neon
- isset.offset.neon
- isset.property.neon
Expand Down

0 comments on commit d809c3c

Please sign in to comment.