We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8a180b commit e7882bcCopy full SHA for e7882bc
src/functions.php
@@ -234,8 +234,13 @@ function is_first_key_operator($document): bool
234
/**
235
* Returns whether an update specification is a valid aggregation pipeline.
236
*
237
+ * Note: this method may propagate an InvalidArgumentException from
238
+ * document_or_array() if a Serializable object within the pipeline array
239
+ * returns a non-array, non-object value from its bsonSerialize() method.
240
+ *
241
* @internal
- * @param mixed $pipeline
242
+ * @param array|object $pipeline
243
+ * @throws InvalidArgumentException
244
*/
245
function is_pipeline($pipeline): bool
246
{
0 commit comments