Skip to content

Commit 1e3e3a1

Browse files
committed
squash! Improve PHPUnit assertions
Make PHPUnit assertion of an array-key of an actual array redundant condition free on evaluation and reconciliation of an actual array to the array type in the psalm-assertion.
1 parent ac336a8 commit 1e3e3a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stubs/Assert_75.phpstub

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ abstract class Assert
88
*
99
* @param int|string $key
1010
* @param mixed $array
11-
* @psalm-assert array $array
11+
* @psalm-assert array{} $array
1212
* @return void
1313
*/
1414
public static function assertArrayHasKey($key, $array, string $message = '') {}

0 commit comments

Comments
 (0)