Skip to content

Commit

Permalink
CS
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Jun 11, 2020
1 parent 160a4ac commit e53a9c0
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
1 change: 0 additions & 1 deletion src/Authorizator.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ interface Authorizator
*/
public function authOrders(array $unauthorizedVariables, callable $callback, string $currency = 'CZK', float $tolerance = 1.0): void;


/**
* @return Transaction[]
*/
Expand Down
17 changes: 14 additions & 3 deletions src/Transaction.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,25 @@
interface Transaction
{

/**
* @return string
*/
public function getCurrency(): string;


/**
* @return float
*/
public function getPrice(): float;


/**
* @param int $variable
* @return bool
*/
public function isVariableSymbol(int $variable): bool;


/**
* @param int $variableSymbol
* @return bool
*/
public function isContainVariableSymbolInMessage(int $variableSymbol): bool;
}

0 comments on commit e53a9c0

Please sign in to comment.