Better PHPStan types

This commit is contained in:
Francescu Garoby
2022-04-30 11:08:42 +02:00
parent 949ba1f298
commit 1e86dcecd0
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ final class OppositeExpectation
/** /**
* Asserts that the value array not has the provided $keys. * Asserts that the value array not has the provided $keys.
* *
* @param array<int, int|string|array<int[]|string[]>> $keys * @param array<int, int|string|array<int-string, mixed>> $keys
* *
* @return Expectation<TValue> * @return Expectation<TValue>
*/ */

View File

@ -595,7 +595,7 @@ final class Expectation
/** /**
* Asserts that the value array has the provided $keys. * Asserts that the value array has the provided $keys.
* *
* @param array<int, int|string|array<int[]|string[]>> $keys * @param array<int, int|string|array<int-string, mixed>> $keys
* *
* @return Expectation<TValue> * @return Expectation<TValue>
*/ */