Skip to content

Commit

Permalink
Merge pull request #36 from krukru/refactor/method-param-name
Browse files Browse the repository at this point in the history
Refactor count/notCount parameter name
  • Loading branch information
Naktibalda authored Jul 9, 2019
2 parents a5c7552 + 4764ae3 commit a4ce274
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 a4ce274

Please sign in to comment.