diff --git a/MangoPay/ApiInstantConversion.php b/MangoPay/ApiInstantConversion.php index 4bef5b6b..b0263635 100644 --- a/MangoPay/ApiInstantConversion.php +++ b/MangoPay/ApiInstantConversion.php @@ -15,16 +15,18 @@ class ApiInstantConversion extends Libraries\ApiBase * @param string $creditedCurrency The buy currency – the currency of the wallet to be credited. * @return \MangoPay\ConversionRate object returned from API */ - public function GetConversionRate($debitedCurrency, $creditedCurrency){ - return $this->GetObject('get_conversion_rate', '\MangoPay\ConversionRate', $debitedCurrency, $creditedCurrency); - } + public function GetConversionRate($debitedCurrency, $creditedCurrency) + { + return $this->GetObject('get_conversion_rate', '\MangoPay\ConversionRate', $debitedCurrency, $creditedCurrency); + } /** * This endpoint allows the platform to move funds between two * wallets of different currencies instantaneously. * @return \MangoPay\InstantConversion object returned from API */ - public function CreateInstantConversion($instantConversion){ + public function CreateInstantConversion($instantConversion) + { return $this->CreateObject('create_instant_conversion', $instantConversion, '\MangoPay\InstantConversion'); } @@ -34,7 +36,8 @@ public function CreateInstantConversion($instantConversion){ * @param string $id The unique identifier of the conversion. * @return \MangoPay\InstantConversion object returned from API */ - public function GetInstantConversion($id){ + public function GetInstantConversion($id) + { return $this->GetObject('get_instant_conversion', '\MangoPay\InstantConversion', $id); } -} \ No newline at end of file +} diff --git a/MangoPay/ConversionRate.php b/MangoPay/ConversionRate.php index f667d1db..4963a74a 100644 --- a/MangoPay/ConversionRate.php +++ b/MangoPay/ConversionRate.php @@ -31,4 +31,4 @@ class ConversionRate extends Libraries\EntityBase * @var string */ public $MarketRate; -} \ No newline at end of file +} diff --git a/MangoPay/InstantConversion.php b/MangoPay/InstantConversion.php index 4b07e447..781b78c2 100644 --- a/MangoPay/InstantConversion.php +++ b/MangoPay/InstantConversion.php @@ -83,4 +83,4 @@ class InstantConversion extends Libraries\EntityBase * @var int */ public $ExecutionDate; -} \ No newline at end of file +} diff --git a/MangoPay/PayInPaymentDetailsGiropay.php b/MangoPay/PayInPaymentDetailsGiropay.php index 97ec8878..22faccf1 100644 --- a/MangoPay/PayInPaymentDetailsGiropay.php +++ b/MangoPay/PayInPaymentDetailsGiropay.php @@ -13,4 +13,4 @@ class PayInPaymentDetailsGiropay extends Libraries\Dto implements PayInPaymentDe * @var string */ public $StatementDescriptor; -} \ No newline at end of file +} diff --git a/MangoPay/PayInPaymentDetailsIdeal.php b/MangoPay/PayInPaymentDetailsIdeal.php index 0712feda..aed8b494 100644 --- a/MangoPay/PayInPaymentDetailsIdeal.php +++ b/MangoPay/PayInPaymentDetailsIdeal.php @@ -26,4 +26,4 @@ class PayInPaymentDetailsIdeal extends Libraries\Dto implements PayInPaymentDeta * @var string */ public $StatementDescriptor; -} \ No newline at end of file +} diff --git a/tests/Cases/InstantConversionTest.php b/tests/Cases/InstantConversionTest.php index 8bfdfbdb..78638a95 100644 --- a/tests/Cases/InstantConversionTest.php +++ b/tests/Cases/InstantConversionTest.php @@ -40,7 +40,8 @@ public function test_getInstantConversion() $this->assertSame(TransactionType::Conversion, $returnedInstantConversion->Type); } - private function createInstantConversion() { + private function createInstantConversion() + { $john = $this->getJohn(); $creditedWallet = new \MangoPay\Wallet(); $creditedWallet->Owners = [$john->Id]; @@ -69,4 +70,4 @@ private function createInstantConversion() { return $this->_api->InstantConversion->CreateInstantConversion($instantConversion); } -} \ No newline at end of file +}