Skip to content

Commit

Permalink
Avoid E_STRICT warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Oct 3, 2013
1 parent cb0653d commit 77652bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/Mongo/lib/Horde/Mongo/Client.php
Expand Up @@ -52,7 +52,7 @@ public function __construct($server = null, array $options = array())
* @deprecated
* @see MongoClient#dropDB
*/
public function dropDB($db = null)
public function dropDB($db)
{
if (empty($db)) {
$db = $this->dbname;
Expand All @@ -63,7 +63,7 @@ public function dropDB($db = null)
/**
* @see MongoClient#selectCollection
*/
public function selectCollection($db = null, $collection = null)
public function selectCollection($db, $collection = null)
{
if (empty($db)) {
$db = $this->dbname;
Expand Down

0 comments on commit 77652bc

Please sign in to comment.