Skip to content

Commit

Permalink
Fix Collection exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
bcrowe committed Nov 28, 2014
1 parent 4a8e757 commit 45bc67a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Collection/Collection.php
Expand Up @@ -41,7 +41,7 @@ public function __construct($items) {
}

if (!($items instanceof \Traversable)) {
$msg = 'Only array or \Traversable are allowed for Collection';
$msg = 'Only an array or \Traversable is allowed for Collection';
throw new InvalidArgumentException($msg);
}

Expand Down

0 comments on commit 45bc67a

Please sign in to comment.