Skip to content

Commit df987ae

Browse files
authored
Merge pull request #9715 from samsonasik/chore-fix-phpstan-notice
chore: fix PHPStan notice on PHPStan 2.1.23
2 parents 4387f32 + 269ccd4 commit df987ae

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

system/Test/FeatureTestTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ protected function populateGlobals(string $name, Request $request, ?array $param
400400
$request->setGlobal($name, $params);
401401
$request->setGlobal(
402402
'request',
403-
$request->fetchGlobal('post') + $request->fetchGlobal('get'),
403+
(array) $request->fetchGlobal('post') + (array) $request->fetchGlobal('get'),
404404
);
405405
}
406406

tests/system/Database/BaseConnectionTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public function testEscapeIdentifiers(string $item, string $expected): void
313313
}
314314

315315
/**
316-
* @return array<string, list<string>>
316+
* @return iterable<string, list<string>>
317317
*/
318318
public static function provideEscapeIdentifiers(): iterable
319319
{
@@ -335,7 +335,7 @@ public function testEscapeIdentifier(string $item, string $expected): void
335335
}
336336

337337
/**
338-
* @return array<string, list<string>>
338+
* @return iterable<string, list<string>>
339339
*/
340340
public static function provideEscapeIdentifier(): iterable
341341
{

tests/system/Database/Live/OCI8/ConnectionTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function testIsValidDSN(string $dsn): void
5353
}
5454

5555
/**
56-
* @return array<string, list<string>>
56+
* @return iterable<string, list<string>>
5757
*/
5858
public static function provideIsValidDSN(): iterable
5959
{

0 commit comments

Comments
 (0)