Skip to content

Commit

Permalink
Refactor method parameter name
Browse files Browse the repository at this point in the history
The new name more accurately describes the datatype of the parameter
and it is in line with the underlying PHPUnit method parameter name.
  • Loading branch information
Marko Kruljac committed Jan 10, 2019
1 parent a5c7552 commit 4764ae3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Codeception/Verify.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4764ae3

Please sign in to comment.