Skip to content

Commit 1d6300f

Browse files
committed
Merge pull request #157
2 parents 214b088 + bc64127 commit 1d6300f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function __construct($uri = 'mongodb://localhost:27017', array $uriOption
6262
* Return internal properties for debugging purposes.
6363
*
6464
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
65-
* @param array
65+
* @return array
6666
*/
6767
public function __debugInfo()
6868
{
@@ -93,7 +93,7 @@ public function __get($databaseName)
9393
/**
9494
* Return the connection string (i.e. URI).
9595
*
96-
* @param string
96+
* @return string
9797
*/
9898
public function __toString()
9999
{

src/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ public function __construct(Manager $manager, $databaseName, $collectionName, ar
117117
* Return internal properties for debugging purposes.
118118
*
119119
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
120-
* @param array
120+
* @return array
121121
*/
122122
public function __debugInfo()
123123
{
@@ -136,7 +136,7 @@ public function __debugInfo()
136136
* Return the collection namespace (e.g. "db.collection").
137137
*
138138
* @see https://docs.mongodb.org/manual/faq/developers/#faq-dev-namespace
139-
* @param string
139+
* @return string
140140
*/
141141
public function __toString()
142142
{

src/Database.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function __construct(Manager $manager, $databaseName, array $options = []
9494
* Return internal properties for debugging purposes.
9595
*
9696
* @see http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.debuginfo
97-
* @param array
97+
* @return array
9898
*/
9999
public function __debugInfo()
100100
{
@@ -128,7 +128,7 @@ public function __get($collectionName)
128128
/**
129129
* Return the database name.
130130
*
131-
* @param string
131+
* @return string
132132
*/
133133
public function __toString()
134134
{

0 commit comments

Comments
 (0)