Completed
Push — master ( 486b5c...9275b4 )
by Vladimir
12s
created
src/Exceptions/ForbiddenException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Exceptions;
6 6
 
Please login to merge, or discard this patch.
src/MakesHttpRequests.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay;
6 6
 
Please login to merge, or discard this patch.
src/Api.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay;
6 6
 
@@ -193,7 +193,7 @@  discard block
 block discarded – undo
193 193
 
194 194
     protected function token(): ?string
195 195
     {
196
-        return $this->cache->remember('acquiropay_api_token_'.md5($this->url), 10, function () {
196
+        return $this->cache->remember('acquiropay_api_token_'.md5($this->url), 10, function() {
197 197
             $response = $this->http->post(
198 198
                 $this->url.'/login',
199 199
                 ['form_params' => ['username' => $this->username, 'password' => $this->password]]
Please login to merge, or discard this patch.
src/Paymarket/Resources/Transaction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Paymarket\Resources;
6 6
 
Please login to merge, or discard this patch.
src/Paymarket/Resources/AbstractResource.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Paymarket\Resources;
6 6
 
Please login to merge, or discard this patch.
src/Paymarket/Resources/ServiceParameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Paymarket\Resources;
6 6
 
Please login to merge, or discard this patch.
src/Paymarket/Resources/Transfer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Paymarket\Resources;
6 6
 
Please login to merge, or discard this patch.
src/Paymarket/Actions/ManagesTransactions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Paymarket\Actions;
6 6
 
Please login to merge, or discard this patch.
src/Paymarket/Resources/Service.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types=1);
3
+declare(strict_types = 1);
4 4
 
5 5
 namespace AcquiroPay\Paymarket\Resources;
6 6
 
@@ -40,9 +40,9 @@  discard block
 block discarded – undo
40 40
     {
41 41
         parent::__construct($attributes);
42 42
 
43
-        $this->isActiveForMerchant = (bool)array_get($attributes, 'pivot.is_active');
43
+        $this->isActiveForMerchant = (bool) array_get($attributes, 'pivot.is_active');
44 44
 
45
-        $this->parameters = array_map(function (array $parameterAttributes) {
45
+        $this->parameters = array_map(function(array $parameterAttributes) {
46 46
             return new ServiceParameter($parameterAttributes);
47 47
         }, $attributes['parameters'] ?? []);
48 48
     }
Please login to merge, or discard this patch.