-
Type: Improvement
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: None
-
Component/s: None
The original PR for PHPLIB-493 inadvertently preserved some obsolete code for handling an "options" argument for insertMany:
case 'insertMany': // Merge nested and top-level options (see: SPEC-1158) $options = isset($args['options']) ? (array) $args['options'] : []; $options += array_diff_key($args, ['documents' => 1]); return $collection->insertMany( $args['documents'], $options );
This should be removed, as no unified spec tests use an "options" argument (per Expressing Required and Optional Parameters).
- is related to
-
PHPLIB-493 Unified test format implementation
- Closed