Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
QuentinGab authored and actions-user committed Feb 14, 2021
1 parent 7eae2ec commit 5e2c53f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Traits/HasBankAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public function mangopayApi(): MangoPayApi
public function mangopayBankAccounts()
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand All @@ -52,7 +52,7 @@ public function mangopayBankAccounts()
public function createMangopayBankAccount(array $data): BankAccount
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand Down Expand Up @@ -87,7 +87,7 @@ public function createMangopayBankAccount(array $data): BankAccount
public function createMangopayMandate(array $data = []): Mandate
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand Down Expand Up @@ -130,7 +130,7 @@ public function getMangopayMandate(int $mandateId)
public function cancelMangopayMandate(int $mandateId)
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand Down Expand Up @@ -158,7 +158,7 @@ public function cancelMangopayMandate(int $mandateId)
public function mangopayMandates(): Collection
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand All @@ -179,7 +179,7 @@ public function mangopayMandates(): Collection
public function getMangopayBankAccountMandates($bankAccountId): Collection
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand Down Expand Up @@ -208,7 +208,7 @@ public function getMangopayBankAccountMandates($bankAccountId): Collection
public function createMangopayMandatePayIn(array $data)
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand Down Expand Up @@ -256,7 +256,7 @@ public function createMangopayMandatePayIn(array $data)
public function createMangopayPayOut(array $data): PayOut
{
$mangopayUserId = $this->mangopayUserId();
if (!$mangopayUserId) {
if (! $mangopayUserId) {
throw MangopayUserException::mangopayUserIdNotFound(get_class($this));
}
$api = $this->mangopayApi();
Expand Down

0 comments on commit 5e2c53f

Please sign in to comment.