Skip to content

Commit c406399

Browse files
committed
Using PHP syntax that is compatible with PHP 5.3. (This slipped in by mistake.)
1 parent 9cdbde1 commit c406399

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/org/nameapi/client/services/formatter/personnameformatter/PersonNameFormatterService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function format(NaturalInputPerson $person, FormatterProperties $properti
4646
list($response, $httpResponseData) = $this->restHttpClient->callApiPost(
4747
PersonNameFormatterService::$RESOURCE_PATH,
4848
$queryParams, $headerParams,
49-
['inputPerson'=>$person, 'properties'=>$properties, 'context'=>$this->context]
49+
array('inputPerson'=>$person, 'properties'=>$properties, 'context'=>$this->context)
5050
);
5151
try {
5252
return new FormatterResult($response->formatted, $response->unknown);

src/org/nameapi/client/services/genderizer/persongenderizer/PersonGenderizerService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function assess(NaturalInputPerson $person) {
4343
list($response, $httpResponseData) = $this->restHttpClient->callApiPost(
4444
PersonGenderizerService::$RESOURCE_PATH,
4545
$queryParams, $headerParams,
46-
['inputPerson'=>$person, 'context'=>$this->context]
46+
array('inputPerson'=>$person, 'context'=>$this->context)
4747
);
4848
try {
4949
return new PersonGenderResult(new ComputedPersonGender(

src/org/nameapi/client/services/matcher/personmatcher/PersonMatcherService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function match(NaturalInputPerson $person1, NaturalInputPerson $person2)
4848
list($response, $httpResponseData) = $this->restHttpClient->callApiPost(
4949
PersonMatcherService::$RESOURCE_PATH,
5050
$queryParams, $headerParams,
51-
['inputPerson1'=>$person1, 'inputPerson2'=>$person2, 'context'=>$this->context]
51+
array('inputPerson1'=>$person1, 'inputPerson2'=>$person2, 'context'=>$this->context)
5252
);
5353

5454
try {

src/org/nameapi/client/services/parser/personnameparser/PersonNameParserService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public function parse(NaturalInputPerson $person) {
5050
list($response, $httpResponseData) = $this->restHttpClient->callApiPost(
5151
PersonNameParserService::$RESOURCE_PATH,
5252
$queryParams, $headerParams,
53-
['inputPerson'=>$person, 'context'=>$this->context]
53+
array('inputPerson'=>$person, 'context'=>$this->context)
5454
);
5555

5656
try {

0 commit comments

Comments
 (0)