Completed
Pull Request — master (#108)
by
unknown
02:56
created
src/Common/Soap/SoapCode.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 {
23 23
     public static function info($code)
24 24
     {
25
-        $codes = (array) json_decode(file_get_contents(__DIR__.'/httpcodes.json'), true);
25
+        $codes = (array) json_decode(file_get_contents(__DIR__ . '/httpcodes.json'), true);
26 26
         if (array_key_exists($code, $codes)) {
27 27
             return $codes[$code];
28 28
         }
Please login to merge, or discard this patch.
src/Factories/EvtBenPrRP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid      = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
Please login to merge, or discard this patch.
src/Factories/EvtDeslig.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid      = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
Please login to merge, or discard this patch.
src/Factories/EvtExpRisco.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid       = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
Please login to merge, or discard this patch.
src/Factories/EvtInsApo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid      = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
Please login to merge, or discard this patch.
src/Factories/EvtCAT.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid      = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
Please login to merge, or discard this patch.
src/Factories/EvtTabLotacao.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid         = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
Please login to merge, or discard this patch.
src/Factories/EvtAvPrevio.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid       = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         $this->dom->addChild(
88 88
             $ideEvento,
89 89
             "nrRecibo",
90
-            ! empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
90
+            !empty($this->std->nrrecibo) ? $this->std->nrrecibo : null,
91 91
             false
92 92
         );
93 93
         $this->dom->addChild(
@@ -171,14 +171,14 @@  discard block
 block discarded – undo
171 171
         $this->dom->addChild(
172 172
             $detAvPrevio,
173 173
             "observacao",
174
-            ! empty($this->std->observacao) ? $this->std->observacao : null,
174
+            !empty($this->std->observacao) ? $this->std->observacao : null,
175 175
             false
176 176
         );
177 177
 
178 178
         $infoAvPrevio->appendChild($detAvPrevio);
179 179
         $evtAvPrevio->appendChild($infoAvPrevio);
180 180
 
181
-        if (! empty($this->std->cancavprevio)) {
181
+        if (!empty($this->std->cancavprevio)) {
182 182
             $cancAvPrevio = $this->dom->createElement("cancAvPrevio");
183 183
             $this->dom->addChild(
184 184
                 $cancAvPrevio,
@@ -189,7 +189,7 @@  discard block
 block discarded – undo
189 189
             $this->dom->addChild(
190 190
                 $cancAvPrevio,
191 191
                 "observacao",
192
-                ! empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null,
192
+                !empty($this->std->cancavprevio->observacao) ? $this->std->cancavprevio->observacao : null,
193 193
                 false
194 194
             );
195 195
             $this->dom->addChild(
Please login to merge, or discard this patch.
src/Factories/EvtTabHorTur.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     protected function toNode()
67 67
     {
68
-        $evtid        = FactoryId::build(
68
+        $evtid = FactoryId::build(
69 69
             $this->tpInsc,
70 70
             $this->nrInsc,
71 71
             $this->date,
Please login to merge, or discard this patch.