@@ -10,16 +10,16 @@ |
||
| 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; |