@@ -106,7 +106,7 @@ |
||
106 | 106 | } |
107 | 107 | return false; |
108 | 108 | } |
109 | - public function possibleModuleClasses($moduleName){ |
|
109 | + public function possibleModuleClasses($moduleName) { |
|
110 | 110 | $possibleModules = []; |
111 | 111 | if ($this->namespace) { |
112 | 112 | $possibleModules[] = $this->namespace . '\\' . $moduleName; |
@@ -13,8 +13,9 @@ |
||
13 | 13 | |
14 | 14 | public static function genArray($data, $level = 0) { |
15 | 15 | $return = ''; |
16 | - if ($level == 0) |
|
17 | - $return = "["; |
|
16 | + if ($level == 0) { |
|
17 | + $return = "["; |
|
18 | + } |
|
18 | 19 | foreach ($data as $key => $item) { |
19 | 20 | $return .= "\n" . str_repeat(' ', ($level * 4 + 4)) . "'{$key}' => "; |
20 | 21 | if (!is_array($item)) { |