Repository navigation
v1.0.8
- Add TypeIs::arrayNullableString().
- Add TypeIs::arrayStringy().
- Add TypeIs::mapNullableString().
- Add TypeIs::mapNullableStringy().
- Add TypeIs::mapString().
- Add TypeIs::mapStringy().
The TypeIs::map...() methods are a bit controversial because you cannot assert the type of the key to be a string thanks to PHP's automatic conversion of numeric keys. So they differ from TypeIs::array...() only by the PHPDoc return type.