Completed
Push — master ( 0f09a1...af57be )
by Adriano
04:45
created
src/Integracao/ControlPay/Contracts/Pedido/CancelarResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
     {
64 64
         $this->pedido = $pedido;
65 65
 
66
-        if(is_array($this->pedido))
66
+        if (is_array($this->pedido))
67 67
             $this->pedido = SerializerHelper::denormalize($this->pedido, Pedido::class);
68 68
 
69 69
         return $this;
Please login to merge, or discard this patch.
src/Integracao/ControlPay/Contracts/Terminal/InsertRequest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     {
89 89
         $this->impressora = $impressora;
90 90
 
91
-        if(is_array($this->impressora))
91
+        if (is_array($this->impressora))
92 92
             $this->impressora = SerializerHelper::denormalize($this->impressora, Impressora::class);
93 93
 
94 94
         return $this;
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     {
111 111
         $this->pessoa = $pessoa;
112 112
 
113
-        if(is_array($this->pessoa))
113
+        if (is_array($this->pessoa))
114 114
             $this->pessoa = SerializerHelper::denormalize($this->pessoa, Pessoa::class);
115 115
 
116 116
         return $this;
Please login to merge, or discard this patch.
src/Integracao/ControlPay/Contracts/Terminal/InsertResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
     {
46 46
         $this->data = \DateTime::createFromFormat('d/m/Y H:i:s.u', $data);
47 47
 
48
-        if(!$this->data)
48
+        if (!$this->data)
49 49
             $this->data = \DateTime::createFromFormat('d/m/Y H:i:s', $data);
50 50
 
51 51
         return $this;
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
     {
68 68
         $this->terminal = $terminal;
69 69
 
70
-        if(is_array($this->terminal))
70
+        if (is_array($this->terminal))
71 71
             $this->terminal = SerializerHelper::denormalize($this->terminal, Terminal::class);
72 72
 
73 73
         return $this;
Please login to merge, or discard this patch.
Integracao/ControlPay/Contracts/IntencaoVenda/GetByIntegracaoIdResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     {
63 63
 
64 64
         foreach ($intencoesVendas as $intencaoVenda)
65
-            $this->intencoesVendas[] = SerializerHelper::denormalize($intencaoVenda, IntencaoVenda::class);
65
+            $this->intencoesVendas[ ] = SerializerHelper::denormalize($intencaoVenda, IntencaoVenda::class);
66 66
 
67 67
         return $this;
68 68
     }
Please login to merge, or discard this patch.
src/Integracao/ControlPay/Contracts/IntencaoVenda/GetByFiltrosResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
     {
63 63
 
64 64
         foreach ($intencoesVendas as $intencaoVenda)
65
-            $this->intencoesVendas[] = SerializerHelper::denormalize($intencaoVenda, IntencaoVenda::class);
65
+            $this->intencoesVendas[ ] = SerializerHelper::denormalize($intencaoVenda, IntencaoVenda::class);
66 66
 
67 67
         return $this;
68 68
     }
Please login to merge, or discard this patch.