Skip to content

Commit cbb7f43

Browse files
committed
Fix language for $databaseName and $collectionName params
1 parent 1892dc6 commit cbb7f43

5 files changed

+14
-4
lines changed

docs/includes/apiargs-MongoDBClient-method-dropDatabase-param.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ source:
33
ref: $databaseName
44
operation: MongoDB\\Client::dropDatabase
55
position: 1
6+
replacement:
7+
action: " to drop"
68
---
79
source:
810
file: apiargs-common-param.yaml

docs/includes/apiargs-MongoDBClient-method-get-param.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,6 @@ source:
33
ref: $databaseName
44
operation: MongoDB\\Client::__get
55
position: 1
6+
replacement:
7+
action: " to select"
68
...

docs/includes/apiargs-MongoDBClient-method-selectCollection-param.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,16 @@ source:
33
ref: $databaseName
44
operation: MongoDB\\Client::selectCollection
55
position: 1
6+
replacement:
7+
action: " containing the collection to select"
68
---
79
source:
810
file: apiargs-common-param.yaml
911
ref: $collectionName
1012
operation: MongoDB\\Client::selectCollection
1113
position: 2
14+
replacement:
15+
action: " to select"
1216
---
1317
source:
1418
file: apiargs-common-param.yaml

docs/includes/apiargs-MongoDBClient-method-selectDatabase-param.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ source:
33
ref: $databaseName
44
operation: MongoDB\\Client::selectDatabase
55
position: 1
6+
replacement:
7+
action: " to select"
68
---
79
source:
810
file: apiargs-common-param.yaml

docs/includes/apiargs-common-param.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,24 @@ arg_name: param
22
name: $databaseName
33
type: string
44
description: |
5-
The name of the database{{select}}.
5+
The name of the database{{action}}.
66
interface: phpmethod
77
operation: selectCollection
88
optional: false
99
replacement:
10-
select: " to select"
10+
action: ""
1111
position: 1
1212
---
1313
arg_name: param
1414
name: $collectionName
1515
type: string
1616
description: |
17-
The name of the collection{{select}}.
17+
The name of the collection{{action}}.
1818
interface: phpmethod
1919
operation: selectCollection
2020
optional: false
2121
replacement:
22-
select: " to select"
22+
action: ""
2323
position: 2
2424
---
2525
arg_name: param

0 commit comments

Comments
 (0)