Skip to content

Commit 3cc8554

Browse files
committed
Fixes after PHPStan update
1 parent 09e2d3b commit 3cc8554

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Type/PHPUnit/data/assert-function.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function assertInstanceOfWorksWithTemplate($o, $class): void
3838

3939
public function arrayHasNumericKey(array $a, \ArrayAccess $b): void {
4040
assertArrayHasKey(0, $a);
41-
assertType('array&hasOffset(0)', $a);
41+
assertType('non-empty-array&hasOffset(0)', $a);
4242

4343
assertArrayHasKey(0, $b);
4444
assertType('ArrayAccess', $b);
@@ -47,7 +47,7 @@ public function arrayHasNumericKey(array $a, \ArrayAccess $b): void {
4747
public function arrayHasStringKey(array $a, \ArrayAccess $b): void
4848
{
4949
assertArrayHasKey('key', $a);
50-
assertType("array&hasOffset('key')", $a);
50+
assertType("non-empty-array&hasOffset('key')", $a);
5151

5252
assertArrayHasKey('key', $b);
5353
assertType("ArrayAccess", $b);

0 commit comments

Comments
 (0)