@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Integracao\ControlPay\Contracts\Login; |
4 | 4 | use Integracao\ControlPay\Helpers\SerializerHelper; |
5 | -use Integracao\ControlPay\Model\Device; |
|
6 | 5 | use Integracao\ControlPay\Model\Operador; |
7 | 6 | use Integracao\ControlPay\Model\Pessoa; |
8 | 7 |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | { |
69 | 69 | $this->pessoa = $pessoa; |
70 | 70 | |
71 | - if(is_array($pessoa)) |
|
71 | + if (is_array($pessoa)) |
|
72 | 72 | $this->pessoa = SerializerHelper::denormalize($this->pessoa, Pessoa::class); |
73 | 73 | |
74 | 74 | return $this; |
@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | { |
91 | 91 | $this->operador = $operador; |
92 | 92 | |
93 | - if(is_array($this->operador)) |
|
93 | + if (is_array($this->operador)) |
|
94 | 94 | $this->operador = SerializerHelper::denormalize($this->operador, Operador::class); |
95 | 95 | |
96 | 96 | return $this; |
@@ -144,7 +144,7 @@ discard block |
||
144 | 144 | { |
145 | 145 | $this->pagamentoExternoStatus = $pagamentoExternoStatus; |
146 | 146 | |
147 | - if(is_array($this->pagamentoExternoStatus)) |
|
147 | + if (is_array($this->pagamentoExternoStatus)) |
|
148 | 148 | $this->pagamentoExternoStatus = SerializerHelper::denormalize( |
149 | 149 | $this->pagamentoExternoStatus, PagamentoExternoStatus::class); |
150 | 150 | |
@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | { |
168 | 168 | $this->pessoa = $pessoa; |
169 | 169 | |
170 | - if(is_array($this->pessoa)) |
|
170 | + if (is_array($this->pessoa)) |
|
171 | 171 | $this->pessoa = SerializerHelper::denormalize($this->pessoa, Pessoa::class); |
172 | 172 | |
173 | 173 | return $this; |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | { |
190 | 190 | $this->intencoesVenda = $intencoesVenda; |
191 | 191 | |
192 | - if(is_array($this->intencoesVenda)) |
|
192 | + if (is_array($this->intencoesVenda)) |
|
193 | 193 | $this->intencoesVenda = SerializerHelper::denormalize($this->intencoesVenda, IntencaoVenda::class); |
194 | 194 | |
195 | 195 | return $this; |
@@ -211,7 +211,7 @@ discard block |
||
211 | 211 | { |
212 | 212 | $this->terminal = $terminal; |
213 | 213 | |
214 | - if(is_array($this->terminal)) |
|
214 | + if (is_array($this->terminal)) |
|
215 | 215 | $this->terminal = SerializerHelper::denormalize($this->terminal, Terminal::class); |
216 | 216 | |
217 | 217 | return $this; |
@@ -112,7 +112,7 @@ |
||
112 | 112 | { |
113 | 113 | $this->fluxoPagamento = $fluxoPagamento; |
114 | 114 | |
115 | - if(is_array($this->fluxoPagamento)) |
|
115 | + if (is_array($this->fluxoPagamento)) |
|
116 | 116 | $this->fluxoPagamento = SerializerHelper::denormalize($this->fluxoPagamento, FluxoPagamento::class); |
117 | 117 | |
118 | 118 | return $this; |
@@ -221,7 +221,7 @@ |
||
221 | 221 | { |
222 | 222 | $this->produtoStatus = $produtoStatus; |
223 | 223 | |
224 | - if(is_array($this->produtoStatus)) |
|
224 | + if (is_array($this->produtoStatus)) |
|
225 | 225 | $this->produtoStatus = SerializerHelper::denormalize($this->produtoStatus, ProdutoStatus::class); |
226 | 226 | |
227 | 227 | return $this; |
@@ -88,7 +88,7 @@ discard block |
||
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 |
||
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; |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | { |
87 | 87 | $this->contaBancaria = $contaBancaria; |
88 | 88 | |
89 | - if(is_array($this->contaBancaria)) |
|
89 | + if (is_array($this->contaBancaria)) |
|
90 | 90 | $this->contaBancaria = SerializerHelper::denormalize($this->contaBancaria, ContaBancaria::class); |
91 | 91 | |
92 | 92 | return $this; |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | { |
109 | 109 | $this->pagamentoStatus = $pagamentoStatus; |
110 | 110 | |
111 | - if(is_array($this->pagamentoStatus)) |
|
111 | + if (is_array($this->pagamentoStatus)) |
|
112 | 112 | $this->pagamentoStatus = SerializerHelper::denormalize($this->pagamentoStatus, PagamentoStatus::class); |
113 | 113 | |
114 | 114 | return $this; |
@@ -164,9 +164,9 @@ discard block |
||
164 | 164 | */ |
165 | 165 | public function setContaRecebimentoLancamentos($contaRecebimentoLancamentos) |
166 | 166 | { |
167 | - if(is_array($contaRecebimentoLancamentos)) |
|
167 | + if (is_array($contaRecebimentoLancamentos)) |
|
168 | 168 | foreach ($contaRecebimentoLancamentos as $contaRecebimentoLancamento) { |
169 | - $this->contaRecebimentoLancamentos[] = SerializerHelper::denormalize( |
|
169 | + $this->contaRecebimentoLancamentos[ ] = SerializerHelper::denormalize( |
|
170 | 170 | $contaRecebimentoLancamento, ContaRecebimentoLancamento::class); |
171 | 171 | } |
172 | 172 |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | { |
76 | 76 | $this->pessoa = $pessoa; |
77 | 77 | |
78 | - if(is_array($this->pessoa)) |
|
78 | + if (is_array($this->pessoa)) |
|
79 | 79 | $this->pessoa = SerializerHelper::denormalize($pessoa, Pessoa::class); |
80 | 80 | |
81 | 81 | return $this; |
@@ -134,7 +134,7 @@ discard block |
||
134 | 134 | |
135 | 135 | foreach ($contaRecebimentoLancamentos as $contaRecebimentoLancamento) |
136 | 136 | { |
137 | - $this->contaRecebimentoLancamentos[] = SerializerHelper::denormalize( |
|
137 | + $this->contaRecebimentoLancamentos[ ] = SerializerHelper::denormalize( |
|
138 | 138 | $contaRecebimentoLancamento, ContaRecebimentoLancamento::class); |
139 | 139 | } |
140 | 140 |
@@ -252,7 +252,7 @@ |
||
252 | 252 | { |
253 | 253 | $this->pessoaStatus = $pessoaStatus; |
254 | 254 | |
255 | - if(is_array($this->pessoaStatus)) |
|
255 | + if (is_array($this->pessoaStatus)) |
|
256 | 256 | $this->pessoaStatus = SerializerHelper::denormalize($this->pessoaStatus, PessoaStatus::class); |
257 | 257 | |
258 | 258 | return $this; |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | { |
106 | 106 | $this->contaRecebimento = $contaRecebimento; |
107 | 107 | |
108 | - if(is_array($this->contaRecebimento)) |
|
108 | + if (is_array($this->contaRecebimento)) |
|
109 | 109 | $this->contaRecebimento = SerializerHelper::denormalize($this->contaRecebimento, ContaRecebimento::class); |
110 | 110 | |
111 | 111 | return $this; |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | { |
128 | 128 | $this->contaPayLancamento = $contaPayLancamento; |
129 | 129 | |
130 | - if(is_array($this->contaPayLancamento)) |
|
130 | + if (is_array($this->contaPayLancamento)) |
|
131 | 131 | $this->contaPayLancamento = SerializerHelper::denormalize($this->contaPayLancamento, ContaPayLancamento::class); |
132 | 132 | |
133 | 133 | return $this; |
@@ -149,7 +149,7 @@ discard block |
||
149 | 149 | { |
150 | 150 | $this->pagamento = $pagamento; |
151 | 151 | |
152 | - if(is_array($this->pagamento)) |
|
152 | + if (is_array($this->pagamento)) |
|
153 | 153 | $this->pagamento = SerializerHelper::denormalize($this->pagamento, Pagamento::class); |
154 | 154 | |
155 | 155 | return $this; |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | { |
172 | 172 | $this->lancamentoTipo = $lancamentoTipo; |
173 | 173 | |
174 | - if(is_array($this->lancamentoTipo)) |
|
174 | + if (is_array($this->lancamentoTipo)) |
|
175 | 175 | $this->lancamentoTipo = SerializerHelper::denormalize($this->lancamentoTipo, LancamentoTipo::class); |
176 | 176 | |
177 | 177 | return $this; |
@@ -283,7 +283,7 @@ discard block |
||
283 | 283 | { |
284 | 284 | $this->intencaoVenda = $intencaoVenda; |
285 | 285 | |
286 | - if(is_array($this->intencaoVenda)) |
|
286 | + if (is_array($this->intencaoVenda)) |
|
287 | 287 | $this->intencaoVenda = SerializerHelper::denormalize($this->intencaoVenda, IntencaoVenda::class); |
288 | 288 | |
289 | 289 | return $this; |