Completed
Push — master ( 335763...aa43e9 )
by Caio
02:30
created
src/Models/Boletos/Base/Boleto.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -10,7 +10,7 @@  discard block
 block discarded – undo
10 10
 
11 11
 abstract class Boleto implements BoletoInterface
12 12
 {
13
-    private   $atributos_parser    = [
13
+    private   $atributos_parser = [
14 14
         ':taxa',
15 15
         ':multa',
16 16
         ':vencimento'
@@ -69,9 +69,9 @@  discard block
 block discarded – undo
69 69
             'carteira'                    => 'SR ou RG',
70 70
             'especie_moeda'               => 'R$',
71 71
             'valor_documento'             => '< R$ 9.999.999,99',
72
-            'uso_do_banco'                => NULL,//'não preencher',
73
-            'qtde_moeda'                  => NULL,//'não preencher',
74
-            'xValor'                      => NULL,//'não preencher',
72
+            'uso_do_banco'                => NULL, //'não preencher',
73
+            'qtde_moeda'                  => NULL, //'não preencher',
74
+            'xValor'                      => NULL, //'não preencher',
75 75
 
76 76
             /* --------[F]------- */
77 77
             'instrucoes'                  => [],
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
                 'cidade_estado_cep' => $this->pagador->getCidadeEstadoCep(),
160 160
                 'cpf_cnpj'          => $this->pagador->getCpfCnpj(),
161 161
             ];
162
-        $this->processed['sacador']                     =
162
+        $this->processed['sacador'] =
163 163
             [
164 164
                 'nome'     => $this->info->getNomeSacado(),
165 165
                 'cpf_cnpj' => $this->info->getCpfCnpjSacado()
Please login to merge, or discard this patch.
src/Generators/Base/BarcodeGenerator.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -100,17 +100,17 @@  discard block
 block discarded – undo
100 100
         {
101 101
             $char_bar   = $code{$i};
102 102
             $char_space = $code{$i + 1};
103
-            if ((!isset($chr[ $char_bar ])) || (!isset($chr[ $char_space ])))
103
+            if ((!isset($chr[$char_bar])) || (!isset($chr[$char_space])))
104 104
             {
105 105
                 // invalid character
106 106
                 return FALSE;
107 107
             }
108 108
             // create a bar-space sequence
109 109
             $seq    = '';
110
-            $chrlen = strlen($chr[ $char_bar ]);
110
+            $chrlen = strlen($chr[$char_bar]);
111 111
             for ($s = 0; $s < $chrlen; $s++)
112 112
             {
113
-                $seq .= $chr[ $char_bar ]{$s} . $chr[ $char_space ]{$s};
113
+                $seq .= $chr[$char_bar]{$s} . $chr[$char_space]{$s};
114 114
             }
115 115
             $seqlen = strlen($seq);
116 116
             for ($j = 0; $j < $seqlen; ++$j)
@@ -123,7 +123,7 @@  discard block
 block discarded – undo
123 123
                     $t = FALSE; // space
124 124
                 }
125 125
                 $w                       = $seq{$j};
126
-                $bararray['bcode'][ $k ] = ['t' => $t, 'w' => $w, 'h' => 1, 'p' => 0];
126
+                $bararray['bcode'][$k] = ['t' => $t, 'w' => $w, 'h' => 1, 'p' => 0];
127 127
                 $bararray['maxw'] += $w;
128 128
                 ++$k;
129 129
             }
Please login to merge, or discard this patch.