From fe44b34c5ad03d8f1d93d1782b7b8adcd920f5a6 Mon Sep 17 00:00:00 2001 From: Andreas Wolf Date: Sun, 4 Sep 2011 11:30:30 +0200 Subject: [PATCH] Bugfix: wrong parameter names in assertNotSameSize() --- PHPUnit/Framework/Assert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PHPUnit/Framework/Assert.php b/PHPUnit/Framework/Assert.php index a6dd92a647d..380870a9dca 100644 --- a/PHPUnit/Framework/Assert.php +++ b/PHPUnit/Framework/Assert.php @@ -1376,7 +1376,7 @@ public function assertSameSize($expected, $actual, $message = '') * @param mixed $actual * @param string $message */ - public function assertNotSameSize($expectedCount, $haystack, $message = '') + public function assertNotSameSize($expected, $actual, $message = '') { if (!$expected instanceof Countable && !$expected instanceof Iterator &&