Completed
Pull Request — master (#46)
by Antonio Oertel
04:53
created
src/LotNumber/LotNumber.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -14,12 +14,12 @@
 block discarded – undo
14 14
 
15 15
 class LotNumber
16 16
 {
17
-      /**
18
-     * geraNumLote
19
-     * Gera numero de lote com base em microtime
20
-     * @param integer $numdigits numero de digitos para o lote
21
-     * @return string
22
-     */
17
+        /**
18
+         * geraNumLote
19
+         * Gera numero de lote com base em microtime
20
+         * @param integer $numdigits numero de digitos para o lote
21
+         * @return string
22
+         */
23 23
     public static function geraNumLote($numdigits = 15)
24 24
     {
25 25
         return substr(str_replace(',', '', number_format(microtime(true)*1000000, 0)), 0, $numdigits);
Please login to merge, or discard this patch.
src/Base/BaseTools.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -251,11 +251,11 @@
 block discarded – undo
251 251
         if (is_file($pathContingencia)) {
252 252
             $contJson = Files\FilesFolders::readFile($pathContingencia);
253 253
             if (! empty($contJson)) {
254
-                 $aCont = (array) json_decode($contJson);
255
-                 $this->motivoContingencia = $aCont['motivo'];
256
-                 $this->tsContingencia = $aCont['ts'];
257
-                 $this->enableSVCAN = $aCont['SVCAN'];
258
-                 $this->enableSVCRS = $aCont['SVCRS'];
254
+                    $aCont = (array) json_decode($contJson);
255
+                    $this->motivoContingencia = $aCont['motivo'];
256
+                    $this->tsContingencia = $aCont['ts'];
257
+                    $this->enableSVCAN = $aCont['SVCAN'];
258
+                    $this->enableSVCRS = $aCont['SVCRS'];
259 259
             }
260 260
         }
261 261
     }
Please login to merge, or discard this patch.
src/Certificate/Asn.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -296,7 +296,7 @@
 block discarded – undo
296 296
         $dataI = self::parseCommon($data, $timeData);
297 297
         $result[] = array(
298 298
             'utctime (' . self::$len . ')',
299
-             $timeData);
299
+                $timeData);
300 300
         $data = $dataI;
301 301
     }
302 302
     
Please login to merge, or discard this patch.