Skip to content

Commit 3c57ad3

Browse files
authored
Merge pull request #271 from devonliu02/patch-1
add the default value for $out param.
2 parents 17816e7 + 7022807 commit 3c57ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

EMongoDocument.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1336,7 +1336,7 @@ public function distinct($key, $query = array())
13361336
* @param array $options // All other options for input to the command
13371337
* @return mixed
13381338
*/
1339-
public function mapreduce($map, $reduce, $finalize = null, $out, $query = array(), $options = array())
1339+
public function mapreduce($map, $reduce, $finalize = null, $out = array(), $query = array(), $options = array())
13401340
{
13411341
return $this->getDbConnection()->getDB()->command(array_merge(array(
13421342
'mapreduce' => $this->collectionName(),

0 commit comments

Comments
 (0)