Skip to content

Commit 4505413

Browse files
committed
PHPLIB-295: Move version info for arrayFilters out of common include
Noting version info on a per-method basis keeps this flexible if another method end up using the option in some later version.
1 parent dc1a379 commit 4505413

3 files changed

+4
-2
lines changed

docs/includes/apiargs-MongoDBCollection-common-option.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ type: array
44
description: |
55
An array of filter documents that determines which array elements to modify
66
for an update operation on an array field.
7-
8-
.. versionadded:: 1.3
97
interface: phpmethod
108
operation: ~
119
optional: true

docs/includes/apiargs-MongoDBCollection-method-findOneAndUpdate-option.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ source:
99
source:
1010
file: apiargs-MongoDBCollection-common-option.yaml
1111
ref: arrayFilters
12+
post: |
13+
.. versionadded:: 1.3
1214
---
1315
source:
1416
file: apiargs-MongoDBCollection-common-option.yaml

docs/includes/apiargs-MongoDBCollection-method-updateMany-option.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ source:
55
source:
66
file: apiargs-MongoDBCollection-common-option.yaml
77
ref: arrayFilters
8+
post: |
9+
.. versionadded:: 1.3
810
---
911
source:
1012
file: apiargs-MongoDBCollection-common-option.yaml

0 commit comments

Comments
 (0)