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 Oct 26, 2020
1 parent aa54fb7 commit affc67d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Traits/HasBankAccount.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

trait HasBankAccount
{

public function getBankAccounts()
{
$pivot = BillableMangopay::where(['billable_type' => get_class($this), 'billable_id' => $this->id])->first();
Expand Down Expand Up @@ -81,7 +80,7 @@ public function createBankAccount(array $data): BankAccount
public function createMandate(array $data = []): Mandate
{
$mangoId = $this->getMangoUserId();
if (!$mangoId) {
if (! $mangoId) {
throw CouldNotFindMangoUser::mangoUserIdNotFound(get_class($this));
}

Expand All @@ -107,7 +106,7 @@ public function createMandate(array $data = []): Mandate
public function getMandate(int $mandateId)
{
$mangoId = $this->getMangoUserId();
if (!$mangoId) {
if (! $mangoId) {
throw CouldNotFindMangoUser::mangoUserIdNotFound(get_class($this));
}

Expand All @@ -129,7 +128,7 @@ public function getMandate(int $mandateId)
public function cancelMandate(int $mandateId)
{
$mangoId = $this->getMangoUserId();
if (!$mangoId) {
if (! $mangoId) {
throw CouldNotFindMangoUser::mangoUserIdNotFound(get_class($this));
}

Expand Down

0 comments on commit affc67d

Please sign in to comment.