Skip to content

Commit

Permalink
Merge pull request sebastianbergmann#723 from marten-cz/3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Nov 15, 2012
2 parents 9aaf94f + 1fb69e5 commit 885c7d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PHPUnit/Framework/Assert.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static function assertArrayHasKey($key, $array, $message = '')
}
if (!(is_array($array) || $array instanceof ArrayAccess)) {
throw PHPUnit_Util_InvalidArgumentHelper::factory(
1, 'array or ArrayAccess'
2, 'array or ArrayAccess'
);
}

Expand All @@ -104,7 +104,7 @@ public static function assertArrayNotHasKey($key, $array, $message = '')
}
if (!(is_array($array) || $array instanceof ArrayAccess)) {
throw PHPUnit_Util_InvalidArgumentHelper::factory(
1, 'array or ArrayAccess'
2, 'array or ArrayAccess'
);
}

Expand Down

0 comments on commit 885c7d2

Please sign in to comment.