Passed
Push — master ( 5d052f...237d0a )
by Hector Luis
02:43
created
src/Api/Artifact/Responder/Get/OrderReceiptInfoResponder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
     protected function success(\stdClass $response)
39 39
     {
40 40
         $found = isset($response->result);
41
-        $data =  $found ? $response->result : null;
41
+        $data = $found ? $response->result : null;
42 42
         $message = $found ? 'Order info fetched successfully' : 'The order was not found';
43 43
         $this
44 44
             ->setSuccess(1)
Please login to merge, or discard this patch.
src/Infrastructure/Provider/Request/Builder/General.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
     {
33 33
         $result = '';
34 34
         $params = $this->compileAsArray($dto);
35
-        array_walk($params, function ($value, $key) use (&$result) {
35
+        array_walk($params, function($value, $key) use (&$result) {
36 36
             $result .= "{$key}=$value&";
37 37
         });
38 38
         return $result;
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
         $params = array_merge($request, $public);
75 75
         ksort($params);
76 76
         $result = '';
77
-        array_walk($params, function ($value, $key) use (&$result) {
77
+        array_walk($params, function($value, $key) use (&$result) {
78 78
             $result .= $key . $value;
79 79
         });
80 80
         return $result;
Please login to merge, or discard this patch.
src/Infrastructure/Provider/Request/Builder/Service.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     public function compile(array $request = []): string
25 25
     {
26 26
         $result = '';
27
-        array_walk($request, function ($value, $key) use (&$result) {
27
+        array_walk($request, function($value, $key) use (&$result) {
28 28
             $result .= "{$key}=$value&"; // Exact business policy
29 29
         });
30 30
         return $result;
Please login to merge, or discard this patch.
Interfaces/Provider/Request/Builder/PublicBuilderInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,5 +27,5 @@
 block discarded – undo
27 27
      * @param DtoInterface $data
28 28
      * @return string
29 29
      */
30
-    public function compileToSignature(DtoInterface $data): string ;
30
+    public function compileToSignature(DtoInterface $data): string;
31 31
 }
Please login to merge, or discard this patch.
src/Infrastructure/Builder/ServiceRequestBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
     {
24 24
         $result = [];
25 25
         $attributes = get_object_vars($this);
26
-        array_walk($attributes, function ($value, $attribute) use (&$result) {
26
+        array_walk($attributes, function($value, $attribute) use (&$result) {
27 27
             $result[$this->unCamelize($attribute)] = $value;
28 28
         });
29 29
         return $result;
Please login to merge, or discard this patch.