From 4764ae3e96280b4282111e62d56320d2b1550642 Mon Sep 17 00:00:00 2001 From: Marko Kruljac Date: Thu, 10 Jan 2019 11:13:01 +0100 Subject: [PATCH] Refactor method parameter name The new name more accurately describes the datatype of the parameter and it is in line with the underlying PHPUnit method parameter name. --- src/Codeception/Verify.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Codeception/Verify.php b/src/Codeception/Verify.php index a1959f7..5b4796f 100644 --- a/src/Codeception/Verify.php +++ b/src/Codeception/Verify.php @@ -184,14 +184,14 @@ public function containsOnlyInstancesOf($class) a::assertContainsOnlyInstancesOf($class, $this->actual, $this->description); } - public function count($array) + public function count($expectedCount) { - a::assertCount($array, $this->actual, $this->description); + a::assertCount($expectedCount, $this->actual, $this->description); } - public function notCount($array) + public function notCount($expectedCount) { - a::assertNotCount($array, $this->actual, $this->description); + a::assertNotCount($expectedCount, $this->actual, $this->description); } public function equalXMLStructure($xml, $checkAttributes = FALSE)