diff --git a/src/Writer/AbstractWriter.php b/src/Writer/AbstractWriter.php index 12e77aba..dd59f398 100644 --- a/src/Writer/AbstractWriter.php +++ b/src/Writer/AbstractWriter.php @@ -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 */ diff --git a/src/Writer/MongoDB.php b/src/Writer/MongoDB.php index 306e015c..3f57434f 100644 --- a/src/Writer/MongoDB.php +++ b/src/Writer/MongoDB.php @@ -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;