Skip to content

Commit a4ce274

Browse files
authored
Merge pull request #36 from krukru/refactor/method-param-name
Refactor count/notCount parameter name
2 parents a5c7552 + 4764ae3 commit a4ce274

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)