Skip to content

Commit 26052ec

Browse files
authored
Merge pull request paysafegroup#7 from kostya-p-dev/8.05/RT-5679_Added_form_for_top_level_merchant
RT-5679 added code style fixes
2 parents 963a112 + b967506 commit 26052ec

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

source/Paysafe/AccountManagement/Merchant.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@
1212
*/
1313
class Merchant extends \Paysafe\JSONObject implements \Paysafe\Pageable {
1414

15-
public static function getPageableArrayKey() {
16-
return "merchant";
15+
public static function getPageableArrayKey()
16+
{
17+
return 'merchant';
1718
}
1819

1920
protected static $fieldTypes = array(

source/Paysafe/MerchantAccountService.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,12 +414,12 @@ function createMerchantSubAccount(MerchantSubAccount $subAccount)
414414
}
415415

416416
/**
417-
* Add merchant account
417+
* Create merchant
418418
* @param Merchant $merchant
419419
* @return Merchant
420420
* @throws PaysafeException
421421
*/
422-
function addMerchant(Merchant $merchant)
422+
function createMerchant(Merchant $merchant)
423423
{
424424
$merchant->setRequiredFields(array(
425425
'name'

0 commit comments

Comments
 (0)