From e53a9c090ee7fffcdc822732f72b53f484dba9c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Bar=C3=A1=C5=A1ek?= Date: Thu, 11 Jun 2020 16:30:07 +0200 Subject: [PATCH] CS --- src/Authorizator.php | 1 - src/Transaction.php | 17 ++++++++++++++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/src/Authorizator.php b/src/Authorizator.php index 5d725f0..328a958 100644 --- a/src/Authorizator.php +++ b/src/Authorizator.php @@ -24,7 +24,6 @@ interface Authorizator */ public function authOrders(array $unauthorizedVariables, callable $callback, string $currency = 'CZK', float $tolerance = 1.0): void; - /** * @return Transaction[] */ diff --git a/src/Transaction.php b/src/Transaction.php index 4097e46..387c7a4 100644 --- a/src/Transaction.php +++ b/src/Transaction.php @@ -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; } \ No newline at end of file