Skip to content

Commit 3b73236

Browse files
committed
(renamed variable)
1 parent 8c5d257 commit 3b73236

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

src/org/nameapi/client/services/matcher/GenderMatcherResult.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ class GenderMatcherResult {
1010
/**
1111
* @var GenderMatchType $type
1212
*/
13-
private $type = null;
13+
private $matchType = null;
1414

1515
/**
1616
* @var float $confidence
@@ -28,15 +28,15 @@ class GenderMatcherResult {
2828
* @param string[] $warnings
2929
*/
3030
public function __construct(GenderMatchType $type, $confidence, $warnings) {
31-
$this->type = $type;
31+
$this->matchType = $type;
3232
$this->confidence = $confidence;
3333
}
3434

3535
/**
3636
* @return GenderMatchType
3737
*/
38-
public function getType() {
39-
return $this->type;
38+
public function getMatchType() {
39+
return $this->matchType;
4040
}
4141

4242
/**

src/org/nameapi/client/services/matcher/PersonNameMatcherResult.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,21 @@ class PersonNameMatcherResult {
99
/**
1010
* @var PersonNameMatchType $type
1111
*/
12-
private $type = null;
12+
private $matchType = null;
1313

1414
/**
1515
* @param PersonNameMatchType $type
1616
*/
1717
public function __construct(PersonNameMatchType $type) {
18-
$this->type = $type;
18+
$this->matchType = $type;
1919
}
2020

2121
/**
2222
*
2323
* @return PersonNameMatchType
2424
*/
25-
public function getType() {
26-
return $this->type;
25+
public function getMatchType() {
26+
return $this->matchType;
2727
}
2828

2929
}

0 commit comments

Comments
 (0)