-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
-
None
b2cd286 for PHPLIB-511 added support for passing an array of strings as the $expectedType parameter for InvalidArgumentException::invalidType(). The switch statement that builds the exception message doesn't gracefully handle an array of zero elements. That should either be handled as an error or an empty string.
- is related to
-
PHPLIB-511 Handle autoEncryptionOpts in MongoDB\Client
- Closed