Passed
Push — master ( 6d118b...c44990 )
by Vladymyr
03:27
created
src/Middleware/Authentication.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      */
38 38
     public function __invoke(callable $next)
39 39
     {
40
-        return function (RequestInterface $request, array $options = []) use ($next) {
40
+        return function(RequestInterface $request, array $options = []) use ($next) {
41 41
 
42 42
             $request = $this->addAuthQueryParams($request);
43 43
             $sign = $this->generateSign($request->getUri()->__toString());
Please login to merge, or discard this patch.
src/Api/Account.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
      */
56 56
     public function withdraw(string $currency, float $quantity, string $address, ?string $paymentId = null): array
57 57
     {
58
-        $parameters = ['currency' => $currency, 'quantity' => (string)$quantity, 'address' => $address];
58
+        $parameters = ['currency' => $currency, 'quantity' => (string) $quantity, 'address' => $address];
59 59
 
60 60
         if (!is_null($paymentId)) {
61 61
             $parameters['paymentid'] = $paymentId;
Please login to merge, or discard this patch.
src/BittrexClient.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@
 block discarded – undo
98 98
             throw new InvalidCredentialException('Key and secret must be set for authenticated API');
99 99
         }
100 100
         $stack = HandlerStack::create();
101
-        $stack->push(new Authentication($this->getKey(), $this->getSecret(), (string)time()));
101
+        $stack->push(new Authentication($this->getKey(), $this->getSecret(), (string) time()));
102 102
 
103 103
         return new Client(['handler' => $stack, 'base_uri' => self::BASE_URI]);
104 104
     }
Please login to merge, or discard this patch.