Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-php-library
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
sinan
mongo-php-library
Commits
a46f2762
You need to sign in or sign up before continuing.
Commit
a46f2762
authored
10 years ago
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix type documentation for Count and Distinct $filter arg
parent
f2c10219
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
Count.php
src/Operation/Count.php
+4
-4
Distinct.php
src/Operation/Distinct.php
+5
-5
No files found.
src/Operation/Count.php
View file @
a46f2762
...
...
@@ -39,10 +39,10 @@ class Count implements Executable
* * skip (integer): The number of documents to skip before returning the
* documents.
*
* @param string $databaseName Database name
* @param string $collectionName Collection name
* @param array
$filter Query by which to filter documents
* @param array $options Command options
* @param string
$databaseName Database name
* @param string
$collectionName Collection name
* @param array
|object
$filter Query by which to filter documents
* @param array
$options Command options
* @throws InvalidArgumentException
*/
public
function
__construct
(
$databaseName
,
$collectionName
,
$filter
=
array
(),
array
$options
=
array
())
...
...
This diff is collapsed.
Click to expand it.
src/Operation/Distinct.php
View file @
a46f2762
...
...
@@ -32,11 +32,11 @@ class Distinct implements Executable
* * maxTimeMS (integer): The maximum amount of time to allow the query to
* run.
*
* @param string $databaseName Database name
* @param string $collectionName Collection name
* @param string $fieldName Field for which to return distinct values
* @param array
$filter Query by which to filter documents
* @param array $options Command options
* @param string
$databaseName Database name
* @param string
$collectionName Collection name
* @param string
$fieldName Field for which to return distinct values
* @param array
|object
$filter Query by which to filter documents
* @param array
$options Command options
* @throws InvalidArgumentException
*/
public
function
__construct
(
$databaseName
,
$collectionName
,
$fieldName
,
$filter
=
array
(),
array
$options
=
array
())
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment