Passed
Push — master ( b77c96...a63077 )
by IRFA
01:35
created
src/Core/SerialNumberGenerator.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -10,16 +10,16 @@
 block discarded – undo
10 10
 {
11 11
     private $sn;
12 12
 
13
-    function __construct($config_array=null)
13
+    function __construct($config_array = null)
14 14
     {
15 15
         $this->runConfig($config_array);
16 16
     }
17 17
 
18 18
     protected function generatingSN()
19 19
     {
20
-        for($i=1;$i<=intval($this->segment);$i++)
20
+        for ($i = 1; $i<=intval($this->segment); $i++)
21 21
         {
22
-            $this->sn .= $this->sn()->formattedId($this->charset,intval($this->length)).$this->seperator;
22
+            $this->sn .= $this->sn()->formattedId($this->charset, intval($this->length)).$this->seperator;
23 23
         }
24 24
 
25 25
         $sn = $this->sn;
Please login to merge, or discard this patch.