Skip to content

Commit

Permalink
Fix grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Burke committed Sep 19, 2015
1 parent 2bacf97 commit bf62fe5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Utility/Hash.php
Expand Up @@ -49,7 +49,7 @@ public static function get($data, $path, $default = null)
{
if (!(is_array($data) || $data instanceof ArrayAccess)) {
throw new InvalidArgumentException(
'Invalid data type, must an array or \ArrayAccess instance.'
'Invalid data type, must be an array or \ArrayAccess instance.'
);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/TestCase/Utility/HashTest.php
Expand Up @@ -265,7 +265,7 @@ public function testGet()
* Test get() for invalid $data type
*
* @expectedException \InvalidArgumentException
* @expectedExceptionMessage Invalid data type, must an array or \ArrayAccess instance.
* @expectedExceptionMessage Invalid data type, must be an array or \ArrayAccess instance.
* @return void
*/
public function testGetInvalidData()
Expand Down

0 comments on commit bf62fe5

Please sign in to comment.