Skip to content

Commit 3994f25

Browse files
committed
rename
1 parent bb34318 commit 3994f25

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

src/Gateway.php renamed to src/ECPayGateway.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* @method RequestInterface updateCard(array $options = [])
2424
* @method RequestInterface deleteCard(array $options = [])
2525
*/
26-
class Gateway extends AbstractGateway
26+
class ECPayGateway extends AbstractGateway
2727
{
2828
use HasDefaults;
2929

tests/GatewayTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
namespace Omnipay\ECPay\Tests;
44

55
use Omnipay\Common\Message\NotificationInterface;
6-
use Omnipay\ECPay\Gateway;
7-
use Omnipay\ECPay\Tests\Stubs\StubGateway;
6+
use Omnipay\ECPay\ECPayGateway;
7+
use Omnipay\ECPay\Tests\Stubs\StubECPayGateway;
88
use Omnipay\Tests\GatewayTestCase;
99

1010
class GatewayTest extends GatewayTestCase
1111
{
12-
/** @var Gateway */
12+
/** @var ECPayGateway */
1313
protected $gateway;
1414

1515
/**
@@ -22,7 +22,7 @@ public function setUp(): void
2222
parent::setUp();
2323

2424
$this->options = ['testMode' => true];
25-
$this->gateway = new StubGateway($this->getHttpClient(), $this->getHttpRequest());
25+
$this->gateway = new StubECPayGateway($this->getHttpClient(), $this->getHttpRequest());
2626
$this->gateway->initialize($this->options);
2727
}
2828

tests/Stubs/StubGateway.php renamed to tests/Stubs/StubECPayGateway.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
namespace Omnipay\ECPay\Tests\Stubs;
44

55
use Omnipay\Common\Message\RequestInterface;
6-
use Omnipay\ECPay\Gateway;
6+
use Omnipay\ECPay\ECPayGateway;
77

8-
class StubGateway extends Gateway
8+
class StubECPayGateway extends ECPayGateway
99
{
1010
/**
1111
* @return RequestInterface

0 commit comments

Comments
 (0)