Skip to content

Commit

Permalink
Renamed MapMatcher::noMatchValue to MapMatcher::defaultValue
Browse files Browse the repository at this point in the history
  • Loading branch information
nicmart committed Nov 4, 2013
1 parent cd767d9 commit 96161b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/UniversalMatcher/MapMatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ class MapMatcher implements Matcher
private $default = null;

/**
* @param null $noMatchValue
* @param null $defaultValue
*/
public function __construct($noMatchValue = null)
public function __construct($defaultValue = null)
{
$this->default = $noMatchValue;
$this->default = $defaultValue;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/UniversalMatcher/PostMatcherTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function setUp()
}));
}

public function testNoMatchValue()
public function testDefaultValue()
{
$this->assertEquals($this->matcher->getDefault(), $this->postMatcher->getDefault());
}
Expand Down

0 comments on commit 96161b4

Please sign in to comment.