Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'typo/zendframework/zendframework#6325-session-exception…
Browse files Browse the repository at this point in the history
  • Loading branch information
Ocramius committed May 26, 2014
8 parents 4bb1004 + 2d7db65 + 63fdbea + 06f0e14 + cc8b469 + a949a32 + b85a7a6 + d78cafa commit c9c5a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SaveHandler/MongoDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,11 @@ public function __construct($mongo, MongoDBOptions $options)
}

if (null === ($database = $options->getDatabase())) {
throw new InvalidArgumentException('The database option cannot be emtpy');
throw new InvalidArgumentException('The database option cannot be empty');
}

if (null === ($collection = $options->getCollection())) {
throw new InvalidArgumentException('The collection option cannot be emtpy');
throw new InvalidArgumentException('The collection option cannot be empty');
}

$this->mongoCollection = $mongo->selectCollection($database, $collection);
Expand Down

0 comments on commit c9c5a6d

Please sign in to comment.