Completed
Pull Request — master (#3)
by Vladimir
14:59
created
src/Paymarket/Resources/Invoice.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/Service.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\Paymarket\Resources;
6 6
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
 
43 43
         $this->isActiveForMerchant = 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.
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/ManagesServices.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/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/Paymarket.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\Paymarket;
6 6
 
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
 
27 27
     protected function transformCollection(array $collection, string $class): array
28 28
     {
29
-        return array_map(function ($attributes) use ($class) {
29
+        return array_map(function($attributes) use ($class) {
30 30
             return new $class($attributes, $this);
31 31
         }, $collection);
32 32
     }
Please login to merge, or discard this patch.