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

Commit

Permalink
Merge branch 'master' of git://github.com/zendframework/zf2 into hotf…
Browse files Browse the repository at this point in the history
…ix/uri-path-not-being-set-when-empty
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Writer/AbstractWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ public function setFormatter(Formatter $formatter)
}

/**
* Perform shutdown activites such as closing open resources
* Perform shutdown activities such as closing open resources
*
* @return void
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Writer/MongoDB.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,13 @@ public function __construct($mongo, $database, $collection, array $saveOptions =
$collection = isset($mongo['collection']) ? $mongo['collection'] : null;
if (null === $collection) {
throw new Exception\InvalidArgumentException(
'The collection parameter cannot be emtpy'
'The collection parameter cannot be empty'
);
}
$database = isset($mongo['database']) ? $mongo['database'] : null;
if (null === $database) {
throw new Exception\InvalidArgumentException(
'The database parameter cannot be emtpy'
'The database parameter cannot be empty'
);
}
$mongo = isset($mongo['mongo']) ? $mongo['mongo'] : null;
Expand Down

0 comments on commit 7be533f

Please sign in to comment.