@@ -13,10 +13,10 @@ |
||
13 | 13 | private array $config=[]; |
14 | 14 | function __construct(array $config=null) |
15 | 15 | { |
16 | - if(!empty($config)) |
|
17 | - { |
|
16 | + if(!empty($config)) |
|
17 | + { |
|
18 | 18 | $this->setConfig($config); |
19 | - } |
|
19 | + } |
|
20 | 20 | } |
21 | 21 | public function generate($json_return = false) |
22 | 22 | { |
@@ -10,10 +10,10 @@ |
||
10 | 10 | |
11 | 11 | class SerialNumber extends SN |
12 | 12 | { |
13 | - private array $config=[]; |
|
14 | - function __construct(array $config=null) |
|
13 | + private array $config = []; |
|
14 | + function __construct(array $config = null) |
|
15 | 15 | { |
16 | - if(!empty($config)) |
|
16 | + if (!empty($config)) |
|
17 | 17 | { |
18 | 18 | $this->setConfig($config); |
19 | 19 | } |