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/CompanyNumber.php b/MangoPay/CompanyNumber.php index f6bdf859..ce515202 100644 --- a/MangoPay/CompanyNumber.php +++ b/MangoPay/CompanyNumber.php @@ -26,5 +26,4 @@ class CompanyNumber extends Libraries\EntityBase * @var array */ public $ValidationRules; - -} \ No newline at end of file +} diff --git a/MangoPay/CompanyNumberDetails.php b/MangoPay/CompanyNumberDetails.php index d5a50826..22fe130b 100644 --- a/MangoPay/CompanyNumberDetails.php +++ b/MangoPay/CompanyNumberDetails.php @@ -9,4 +9,4 @@ class CompanyNumberDetails extends Libraries\EntityBase * @var object */ public $CompanyNumber; -} \ 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 +} diff --git a/tests/Cases/UsersTest.php b/tests/Cases/UsersTest.php index d4a61ad4..a819f7e2 100644 --- a/tests/Cases/UsersTest.php +++ b/tests/Cases/UsersTest.php @@ -770,7 +770,8 @@ public function test_user_natural_terms_and_conditions() $this->assertNotNull($accepted->TermsAndConditionsAcceptedDate); } - public function test_validate_the_format_of_user_data(){ + public function test_validate_the_format_of_user_data() + { $companyNumberDetails = new \MangoPay\CompanyNumberDetails(); $companyNumber = new \MangoPay\CompanyNumber(); $companyNumber->CompanyNumber = 'AB123456';