Skip to content

Commit d16831e

Browse files
committed
Renamed method to be consistent.
1 parent cd574fc commit d16831e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/org/nameapi/client/services/system/SystemServiceFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function __construct(Context $context) {
2525
/**
2626
* @return PingerService
2727
*/
28-
public function pingerService() {
28+
public function pinger() {
2929
if ($this->pingerService==null) {
3030
$this->pingerService = new PingerService($this->context);
3131
}

tests/functional/org/nameapi/client/services/system/pinger/PingerServiceTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
class PingerServiceTest extends BaseServiceTest {
1010

1111
public function testPing() {
12-
$pinger = $this->makeServiceFactory()->systemServices()->pingerService();
12+
$pinger = $this->makeServiceFactory()->systemServices()->pinger();
1313
$result = $pinger->ping();
1414
$this->assertEquals('pong', $result);
1515
}

0 commit comments

Comments
 (0)