Skip to content

Commit

Permalink
Refactored bunqLib. (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
OGKevin committed Mar 23, 2018
1 parent ecf103d commit 09a3659
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/BunqLib.php
Original file line number Diff line number Diff line change
Expand Up @@ -184,14 +184,6 @@ public function updateContext()
BunqContext::getApiContext()->save($this->determineBunqConfFileName());
}

/**
* @return UserCompany|UserLight|UserPerson
*/
public function getCurrentUser()
{
return $this->user;
}

/**
* @param int $count
*
Expand Down Expand Up @@ -355,8 +347,6 @@ public function getAllCard(int $count = 10): array
)->getValue();
}

// HELPERS

/**
* @param Card $card
* @param MonetaryAccountBank $monetaryAccount
Expand All @@ -375,6 +365,8 @@ public function linkCardToBankAccount(Card $card, MonetaryAccountBank $monetaryA
);
}

// HELPERS

/**
* @param string $callbackUrl
*/
Expand Down Expand Up @@ -435,4 +427,12 @@ public function getAllUserAlias(): array
{
return $this->getCurrentUser()->getAlias();
}

/**
* @return UserCompany|UserLight|UserPerson
*/
public function getCurrentUser()
{
return $this->user;
}
}

0 comments on commit 09a3659

Please sign in to comment.