Completed
Push — master ( 51d20a...9462c8 )
by Caio
04:10
created
src/Generators/Base/BarcodeGenerator.php 2 patches
Indentation   +50 added lines, -50 removed lines patch added patch discarded remove patch
@@ -1689,40 +1689,40 @@  discard block
 block discarded – undo
1689 1689
         //Convert digits to bars
1690 1690
         $codes            = [
1691 1691
             'A' => [ // left odd parity
1692
-                     '0' => '0001101',
1693
-                     '1' => '0011001',
1694
-                     '2' => '0010011',
1695
-                     '3' => '0111101',
1696
-                     '4' => '0100011',
1697
-                     '5' => '0110001',
1698
-                     '6' => '0101111',
1699
-                     '7' => '0111011',
1700
-                     '8' => '0110111',
1701
-                     '9' => '0001011'
1692
+                        '0' => '0001101',
1693
+                        '1' => '0011001',
1694
+                        '2' => '0010011',
1695
+                        '3' => '0111101',
1696
+                        '4' => '0100011',
1697
+                        '5' => '0110001',
1698
+                        '6' => '0101111',
1699
+                        '7' => '0111011',
1700
+                        '8' => '0110111',
1701
+                        '9' => '0001011'
1702 1702
             ],
1703 1703
             'B' => [ // left even parity
1704
-                     '0' => '0100111',
1705
-                     '1' => '0110011',
1706
-                     '2' => '0011011',
1707
-                     '3' => '0100001',
1708
-                     '4' => '0011101',
1709
-                     '5' => '0111001',
1710
-                     '6' => '0000101',
1711
-                     '7' => '0010001',
1712
-                     '8' => '0001001',
1713
-                     '9' => '0010111'
1704
+                        '0' => '0100111',
1705
+                        '1' => '0110011',
1706
+                        '2' => '0011011',
1707
+                        '3' => '0100001',
1708
+                        '4' => '0011101',
1709
+                        '5' => '0111001',
1710
+                        '6' => '0000101',
1711
+                        '7' => '0010001',
1712
+                        '8' => '0001001',
1713
+                        '9' => '0010111'
1714 1714
             ],
1715 1715
             'C' => [ // right
1716
-                     '0' => '1110010',
1717
-                     '1' => '1100110',
1718
-                     '2' => '1101100',
1719
-                     '3' => '1000010',
1720
-                     '4' => '1011100',
1721
-                     '5' => '1001110',
1722
-                     '6' => '1010000',
1723
-                     '7' => '1000100',
1724
-                     '8' => '1001000',
1725
-                     '9' => '1110100'
1716
+                        '0' => '1110010',
1717
+                        '1' => '1100110',
1718
+                        '2' => '1101100',
1719
+                        '3' => '1000010',
1720
+                        '4' => '1011100',
1721
+                        '5' => '1001110',
1722
+                        '6' => '1010000',
1723
+                        '7' => '1000100',
1724
+                        '8' => '1001000',
1725
+                        '9' => '1110100'
1726 1726
             ]
1727 1727
         ];
1728 1728
         $parities         = [
@@ -1851,28 +1851,28 @@  discard block
 block discarded – undo
1851 1851
         //Convert digits to bars
1852 1852
         $codes       = [
1853 1853
             'A' => [ // left odd parity
1854
-                     '0' => '0001101',
1855
-                     '1' => '0011001',
1856
-                     '2' => '0010011',
1857
-                     '3' => '0111101',
1858
-                     '4' => '0100011',
1859
-                     '5' => '0110001',
1860
-                     '6' => '0101111',
1861
-                     '7' => '0111011',
1862
-                     '8' => '0110111',
1863
-                     '9' => '0001011'
1854
+                        '0' => '0001101',
1855
+                        '1' => '0011001',
1856
+                        '2' => '0010011',
1857
+                        '3' => '0111101',
1858
+                        '4' => '0100011',
1859
+                        '5' => '0110001',
1860
+                        '6' => '0101111',
1861
+                        '7' => '0111011',
1862
+                        '8' => '0110111',
1863
+                        '9' => '0001011'
1864 1864
             ],
1865 1865
             'B' => [ // left even parity
1866
-                     '0' => '0100111',
1867
-                     '1' => '0110011',
1868
-                     '2' => '0011011',
1869
-                     '3' => '0100001',
1870
-                     '4' => '0011101',
1871
-                     '5' => '0111001',
1872
-                     '6' => '0000101',
1873
-                     '7' => '0010001',
1874
-                     '8' => '0001001',
1875
-                     '9' => '0010111'
1866
+                        '0' => '0100111',
1867
+                        '1' => '0110011',
1868
+                        '2' => '0011011',
1869
+                        '3' => '0100001',
1870
+                        '4' => '0011101',
1871
+                        '5' => '0111001',
1872
+                        '6' => '0000101',
1873
+                        '7' => '0010001',
1874
+                        '8' => '0001001',
1875
+                        '9' => '0010111'
1876 1876
             ]
1877 1877
         ];
1878 1878
         $parities    = [];
Please login to merge, or discard this patch.
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
     /**
1046 1046
      * Convert binary barcode sequence to TCPDF barcode array.
1047 1047
      *
1048
-     * @param $seq      (string) barcode as binary sequence.
1048
+     * @param string $seq      (string) barcode as binary sequence.
1049 1049
      * @param $bararray (array) barcode array.
1050 1050
      *                  òparam array $bararray TCPDF barcode array to fill up
1051 1051
      * @return array barcode representation.
@@ -2931,7 +2931,7 @@  discard block
 block discarded – undo
2931 2931
      * Convert large integer number to hexadecimal representation.
2932 2932
      * (requires PHP bcmath extension)
2933 2933
      *
2934
-     * @param $number (string) number to convert specified as a string
2934
+     * @param string $number (string) number to convert specified as a string
2935 2935
      * @return string hexadecimal representation
2936 2936
      */
2937 2937
     public function dec_to_hex($number)
@@ -2961,7 +2961,7 @@  discard block
 block discarded – undo
2961 2961
      * Convert large hexadecimal number to decimal representation (string).
2962 2962
      * (requires PHP bcmath extension)
2963 2963
      *
2964
-     * @param $hex (string) hexadecimal number to convert specified as a string
2964
+     * @param string $hex (string) hexadecimal number to convert specified as a string
2965 2965
      * @return string hexadecimal representation
2966 2966
      */
2967 2967
     public function hex_to_dec($hex)
@@ -3027,7 +3027,7 @@  discard block
 block discarded – undo
3027 3027
     /**
3028 3028
      * Reverse unsigned short value
3029 3029
      *
3030
-     * @param $num (int) value to reversr
3030
+     * @param integer $num (int) value to reversr
3031 3031
      * @return int reversed value
3032 3032
      * @protected
3033 3033
      */
@@ -3047,8 +3047,8 @@  discard block
 block discarded – undo
3047 3047
     /**
3048 3048
      * generate Nof13 tables used for Intelligent Mail Barcode
3049 3049
      *
3050
-     * @param $n    (int) is the type of table: 2 for 2of13 table, 5 for 5of13table
3051
-     * @param $size (int) size of table (78 for n=2 and 1287 for n=5)
3050
+     * @param integer $n    (int) is the type of table: 2 for 2of13 table, 5 for 5of13table
3051
+     * @param integer $size (int) size of table (78 for n=2 and 1287 for n=5)
3052 3052
      * @return array requested table
3053 3053
      * @protected
3054 3054
      */
Please login to merge, or discard this patch.
src/Providers/BoletoServiceProvider.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -51,19 +51,19 @@
 block discarded – undo
51 51
     private function registerBindings()
52 52
     {
53 53
         $this->app->bind('CbCaio\Boletos\Models\Banco\Contracts\BancoInterface',
54
-                         'CbCaio\Boletos\Models\Banco\Base\Banco');
54
+                            'CbCaio\Boletos\Models\Banco\Base\Banco');
55 55
 
56 56
         $this->app->bind('CbCaio\Boletos\Models\Beneficiario\Contracts\BeneficiarioInterface',
57
-                         'CbCaio\Boletos\Models\Beneficiario\Base\Beneficiario');
57
+                            'CbCaio\Boletos\Models\Beneficiario\Base\Beneficiario');
58 58
 
59 59
         $this->app->bind('CbCaio\Boletos\Models\Boleto\Contracts\BoletoInterface',
60
-                         'CbCaio\Boletos\Models\Boleto\Base\Boleto');
60
+                            'CbCaio\Boletos\Models\Boleto\Base\Boleto');
61 61
 
62 62
         $this->app->bind('CbCaio\Boletos\Models\BoletoInfo\Contracts\BoletoInfoInterface',
63
-                         'CbCaio\Boletos\Models\BoletoInfo\BoletoInfo');
63
+                            'CbCaio\Boletos\Models\BoletoInfo\BoletoInfo');
64 64
 
65 65
         $this->app->bind('CbCaio\Boletos\Models\Pagador\Contracts\PagadorInterface',
66
-                         'CbCaio\Boletos\Models\Pagador\Pagador');
66
+                            'CbCaio\Boletos\Models\Pagador\Pagador');
67 67
     }
68 68
 
69 69
 }
70 70
\ No newline at end of file
Please login to merge, or discard this patch.
src/Calculators/Calculator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,7 @@
 block discarded – undo
8 8
      * seguinte forma:
9 9
      *  SE RESULTADO = 0  OU RESULTADO > 9 ENTAO DV = 1
10 10
      *
11
-     * @param $numero
11
+     * @param string $numero
12 12
      * @return int
13 13
      */
14 14
     static function calculaModulo11SemDV0($numero)
Please login to merge, or discard this patch.
src/Models/BoletoInfo/BoletoInfo.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
         if (isset($this->attributes['data_vencimento']))
91 91
         {
92 92
             return Carbon::createFromFormat($this->date_format, $this->attributes['data_vencimento'])
93
-                         ->setTime(0, 0, 0);
93
+                            ->setTime(0, 0, 0);
94 94
         } else
95 95
         {
96 96
             return NULL;
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
         if (isset($this->attributes['data_documento']))
106 106
         {
107 107
             return Carbon::createFromFormat($this->date_format, $this->attributes['data_documento'])
108
-                         ->setTime(0, 0, 0);
108
+                            ->setTime(0, 0, 0);
109 109
         } else
110 110
         {
111 111
             return NULL;
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         if (isset($this->attributes['data_processamento']))
122 122
         {
123 123
             return Carbon::createFromFormat($this->date_format, $this->attributes['data_processamento'])
124
-                         ->setTime(0, 0, 0);
124
+                            ->setTime(0, 0, 0);
125 125
         } else
126 126
         {
127 127
             return NULL;
Please login to merge, or discard this patch.
src/Models/Boletos/Base/Boleto.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -188,7 +188,7 @@
 block discarded – undo
188 188
                         break;
189 189
                     case ":vencimento":
190 190
                         $string = preg_replace("/$attribute" . '\b/',
191
-                                               $this->info->getDataVencimentoCalculada(), $string);
191
+                                                $this->info->getDataVencimentoCalculada(), $string);
192 192
                         break;
193 193
                 }
194 194
             }
Please login to merge, or discard this patch.