@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | * |
41 | 41 | * @param string $url String for parsing |
42 | 42 | * |
43 | - * @return array Array [0] => module name, [1]=>relative_path |
|
43 | + * @return boolean Array [0] => module name, [1]=>relative_path |
|
44 | 44 | */ |
45 | 45 | public static function parseURL($url, &$module = null, &$path = null) |
46 | 46 | { |
@@ -89,6 +89,9 @@ discard block |
||
89 | 89 | |
90 | 90 | } |
91 | 91 | |
92 | + /** |
|
93 | + * @param \samson\core\Module[] $moduleList |
|
94 | + */ |
|
92 | 95 | public function generateResources($moduleList, $templatePath = 'default') |
93 | 96 | { |
94 | 97 | $dir = str_replace(array('/', '.'), '_', $templatePath); |