Skip to content

Commit 8132695

Browse files
PHPAY-01: fix(examples): namespace
1 parent 2acf691 commit 8132695

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/asaas/customers.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
use PHPay\Gateways\Asaas\AsaasGateway;
3+
use PHPay\Asaas\AsaasGateway;
44
use PHPay\PHPay;
55

66
require_once __DIR__ . '/../../vendor/autoload.php';
@@ -17,7 +17,7 @@
1717
*
1818
* @var AsaasGateway $phpay
1919
*/
20-
$phpay = new PHPay(new AsaasGateway(TOKEN_ASAAS_SANDBOX));
20+
$phpay = PHPay::gateway(new AsaasGateway(TOKEN_ASAAS_SANDBOX));
2121

2222
/**
2323
* store asaas customer

0 commit comments

Comments
 (0)