Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
review
Browse files Browse the repository at this point in the history
  • Loading branch information
GromNaN committed Jul 10, 2023
1 parent 76983ef commit 1370e57
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@
],
"license": "MIT",
"require": {
"ext-mongodb": "*",
"illuminate/support": "^10.0",
"illuminate/container": "^10.0",
"illuminate/database": "^10.0",
"illuminate/events": "^10.0",
"mongodb/mongodb": "^1.15",
"ext-mongodb": "*"
"mongodb/mongodb": "^1.15"
},
"require-dev": {
"phpunit/phpunit": "^9.5.10",
Expand Down
4 changes: 3 additions & 1 deletion src/Query/Builder.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ public function cursor($columns = [])
}

/**
* Return the Mongo Query to be run in the form of a 1 element array like ['method' => [arguments]].
* Return the MongoDB Query to be run in the form of an element array like ['method' => [arguments]].
*
* Example: ['find' => [['name' => 'John Doe'], ['projection' => ['birthday' => 1]]]]
*
* @param $columns
* @return array<string, mixed[]>
Expand Down

0 comments on commit 1370e57

Please sign in to comment.