@@ -58,8 +58,8 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function add($name) { |
60 | 60 | if (in_array($name, $this->list)) { |
61 | - $this->logger->warning('The module [' .$name. '] already added skipping.'); |
|
62 | - return $this; |
|
61 | + $this->logger->warning('The module [' .$name. '] already added skipping.'); |
|
62 | + return $this; |
|
63 | 63 | } |
64 | 64 | $this->list[] = $name; |
65 | 65 | return $this; |
@@ -91,10 +91,10 @@ discard block |
||
91 | 91 | $this->list = array(); |
92 | 92 | } |
93 | 93 | |
94 | - /** |
|
95 | - * Get the list of module loaded |
|
96 | - * @return array the module list |
|
97 | - */ |
|
94 | + /** |
|
95 | + * Get the list of module loaded |
|
96 | + * @return array the module list |
|
97 | + */ |
|
98 | 98 | public function getModuleList() { |
99 | 99 | return $this->list; |
100 | 100 | } |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | $this->logger->debug('Check if the application contains the modules ...'); |
242 | 242 | $dirList = glob(MODULE_PATH . '*', GLOB_ONLYDIR); |
243 | 243 | if ($dirList !== false) { |
244 | - $this->list = array_map('basename', $dirList); |
|
244 | + $this->list = array_map('basename', $dirList); |
|
245 | 245 | } |
246 | 246 | if (!empty($this->list)) { |
247 | 247 | $this->logger->info('The application contains the module below [' . implode(', ', $this->list) . ']'); |
@@ -264,7 +264,7 @@ discard block |
||
264 | 264 | $filePath = MODULE_PATH . $module . DS . $type . DS . $classFile; |
265 | 265 | if (file_exists($filePath)) { |
266 | 266 | $this->logger->info('Found class [' . $class . '] in module [' . $module . '] ' |
267 | - . 'for [' . $type . '] the file path is [' . $filePath . ']'); |
|
267 | + . 'for [' . $type . '] the file path is [' . $filePath . ']'); |
|
268 | 268 | return $filePath; |
269 | 269 | } |
270 | 270 | $this->logger->info('Class [' . $class . '] does not exist in the module [' . $module . '] for [' . $type . ']'); |