Skip to content

Commit 4764ae3

Browse files
author
Marko Kruljac
committed
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.
1 parent a5c7552 commit 4764ae3

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/Codeception/Verify.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -184,14 +184,14 @@ public function containsOnlyInstancesOf($class)
184184
a::assertContainsOnlyInstancesOf($class, $this->actual, $this->description);
185185
}
186186

187-
public function count($array)
187+
public function count($expectedCount)
188188
{
189-
a::assertCount($array, $this->actual, $this->description);
189+
a::assertCount($expectedCount, $this->actual, $this->description);
190190
}
191191

192-
public function notCount($array)
192+
public function notCount($expectedCount)
193193
{
194-
a::assertNotCount($array, $this->actual, $this->description);
194+
a::assertNotCount($expectedCount, $this->actual, $this->description);
195195
}
196196

197197
public function equalXMLStructure($xml, $checkAttributes = FALSE)

0 commit comments

Comments
 (0)