@@ -63,7 +63,7 @@ |
||
| 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; |
@@ -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; |
@@ -45,7 +45,7 @@ discard block |
||
| 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 |
||
| 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; |
@@ -62,7 +62,7 @@ |
||
| 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 | } |
@@ -62,7 +62,7 @@ |
||
| 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 | } |