Details
-
Improvement
-
Status: Closed
-
Minor - P4
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- is related to
-
PHPLIB-511 Handle autoEncryptionOpts in MongoDB\Client
-
- Closed
-