Browse Source

Fix Collection exception message

Bryan Crowe 11 years ago
parent
commit
45bc67a198
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Collection/Collection.php

+ 1 - 1
src/Collection/Collection.php

@@ -41,7 +41,7 @@ class Collection extends IteratorIterator implements CollectionInterface {
 		}
 
 		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);
 		}