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
c3e4774e
Commit
c3e4774e
authored
Jun 03, 2016
by
Jeremy Mikola
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v1.0'
parents
2f50afa0
04c9bc04
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
9 deletions
+7
-9
Client.php
src/Client.php
+2
-2
Collection.php
src/Collection.php
+2
-2
Database.php
src/Database.php
+2
-2
CreateIndexes.php
src/Operation/CreateIndexes.php
+1
-3
No files found.
src/Client.php
View file @
c3e4774e
...
@@ -62,7 +62,7 @@ class Client
...
@@ -62,7 +62,7 @@ class Client
* Return internal properties for debugging purposes.
* Return internal properties for debugging purposes.
*
*
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
* @
param
array
* @
return
array
*/
*/
public
function
__debugInfo
()
public
function
__debugInfo
()
{
{
...
@@ -93,7 +93,7 @@ class Client
...
@@ -93,7 +93,7 @@ class Client
/**
/**
* Return the connection string (i.e. URI).
* Return the connection string (i.e. URI).
*
*
* @
param
string
* @
return
string
*/
*/
public
function
__toString
()
public
function
__toString
()
{
{
...
...
src/Collection.php
View file @
c3e4774e
...
@@ -117,7 +117,7 @@ class Collection
...
@@ -117,7 +117,7 @@ class Collection
* Return internal properties for debugging purposes.
* Return internal properties for debugging purposes.
*
*
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
* @
param
array
* @
return
array
*/
*/
public
function
__debugInfo
()
public
function
__debugInfo
()
{
{
...
@@ -136,7 +136,7 @@ class Collection
...
@@ -136,7 +136,7 @@ class Collection
* Return the collection namespace (e.g. "db.collection").
* Return the collection namespace (e.g. "db.collection").
*
*
* @see https://docs.mongodb.org/manual/faq/developers/#faq-dev-namespace
* @see https://docs.mongodb.org/manual/faq/developers/#faq-dev-namespace
* @
param
string
* @
return
string
*/
*/
public
function
__toString
()
public
function
__toString
()
{
{
...
...
src/Database.php
View file @
c3e4774e
...
@@ -94,7 +94,7 @@ class Database
...
@@ -94,7 +94,7 @@ class Database
* Return internal properties for debugging purposes.
* Return internal properties for debugging purposes.
*
*
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
* @
param
array
* @
return
array
*/
*/
public
function
__debugInfo
()
public
function
__debugInfo
()
{
{
...
@@ -128,7 +128,7 @@ class Database
...
@@ -128,7 +128,7 @@ class Database
/**
/**
* Return the database name.
* Return the database name.
*
*
* @
param
string
* @
return
string
*/
*/
public
function
__toString
()
public
function
__toString
()
{
{
...
...
src/Operation/CreateIndexes.php
View file @
c3e4774e
...
@@ -97,9 +97,7 @@ class CreateIndexes implements Executable
...
@@ -97,9 +97,7 @@ class CreateIndexes implements Executable
'indexes'
=>
$this
->
indexes
,
'indexes'
=>
$this
->
indexes
,
]);
]);
$cursor
=
$server
->
executeCommand
(
$this
->
databaseName
,
$command
);
$server
->
executeCommand
(
$this
->
databaseName
,
$command
);
return
current
(
$cursor
->
toArray
());
}
}
/**
/**
...
...
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