Skip to content

Commit

Permalink
BaseAuthorizator: Fix callback type.
Browse files Browse the repository at this point in the history
  • Loading branch information
janbarasek committed Dec 21, 2020
1 parent ad07324 commit e0314d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/BaseAuthorizator.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ abstract class BaseAuthorizator implements Authorizator

/**
* @param int[]|float[] $unauthorizedVariables (variable => expectedPrice)
* @param callable&(callable(Transaction): void)[]; $callback with first argument of type Transaction.
* @param callable&(callable(Transaction): void)[] $callback
*/
public function authOrders(array $unauthorizedVariables, callable $callback, string $currency = 'CZK', float $tolerance = 1.0): void
{
Expand Down

0 comments on commit e0314d7

Please sign in to comment.