Passed
Push — master ( 7160d8...080278 )
by Marcio
36:52
created
examples/execute.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -25,9 +25,9 @@  discard block
 block discarded – undo
25 25
 
26 26
 //
27 27
 
28
-function generateGuid(){
28
+function generateGuid() {
29 29
     $hash = strtoupper(hash('ripemd128', uniqid('', true) . md5(time() . rand(0, time()))));
30
-    $guid = ''.substr($hash,  0,  8).'-'.substr($hash,  8,  4).'-'.substr($hash, 12,  4).'-'.substr($hash, 16,  4).'-'.substr($hash, 20, 12).'';
30
+    $guid = '' . substr($hash, 0, 8) . '-' . substr($hash, 8, 4) . '-' . substr($hash, 12, 4) . '-' . substr($hash, 16, 4) . '-' . substr($hash, 20, 12) . '';
31 31
 
32 32
     return $guid;
33 33
 }
@@ -497,7 +497,7 @@  discard block
 block discarded – undo
497 497
 echo '<h2>response</h2>';
498 498
 
499 499
 // isValid
500
-if (array_key_exists('Payment',$response)) {
500
+if (array_key_exists('Payment', $response)) {
501 501
 
502 502
 
503 503
 
Please login to merge, or discard this patch.
src/ApiService.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * @var array
41 41
      */
42
-    protected $debugData  = array();
42
+    protected $debugData = array();
43 43
 
44 44
     /**
45 45
      * ApiService constructor.
Please login to merge, or discard this patch.