@@ -45,7 +45,6 @@ discard block |
||
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
| 48 | - * @param \samson\core\Module $module Module which code is being gathered |
|
| 49 | 48 | */ |
| 50 | 49 | public function __construct(array $files, $logger = null) |
| 51 | 50 | { |
@@ -61,6 +60,7 @@ discard block |
||
| 61 | 60 | /** |
| 62 | 61 | * Remove all use statements in a file and replace class/function calls |
| 63 | 62 | * to full syntax names. |
| 63 | + * @param string $code |
|
| 64 | 64 | */ |
| 65 | 65 | public function removeUSE($code) |
| 66 | 66 | { |
@@ -28,7 +28,7 @@ |
||
| 28 | 28 | |
| 29 | 29 | /** |
| 30 | 30 | * @param mixed $entityConfiguration current instance for configuration |
| 31 | - * @return boolean False if something went wrong otherwise true |
|
| 31 | + * @return boolean|null False if something went wrong otherwise true |
|
| 32 | 32 | */ |
| 33 | 33 | public function configure($entityConfiguration) |
| 34 | 34 | { |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | /** |
| 83 | 83 | * Find all event fire calls in code |
| 84 | 84 | * |
| 85 | - * @param $code |
|
| 85 | + * @param string $code |
|
| 86 | 86 | * |
| 87 | 87 | * @return array |
| 88 | 88 | */ |
@@ -201,6 +201,9 @@ discard block |
||
| 201 | 201 | return $code; |
| 202 | 202 | } |
| 203 | 203 | |
| 204 | + /** |
|
| 205 | + * @param string $input |
|
| 206 | + */ |
|
| 204 | 207 | public function transform($input, & $output = '') |
| 205 | 208 | { |
| 206 | 209 | // Get all defined handlers |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | * @param string $view_file Полный путь к файлу представления |
| 114 | 114 | * @param iModule $module Указатель на модуль которому принадлежит это представление |
| 115 | 115 | * |
| 116 | - * @return bool |
|
| 116 | + * @return boolean|null |
|
| 117 | 117 | */ |
| 118 | 118 | public function compress_view($view_file, iModule & $module) |
| 119 | 119 | { |
@@ -646,7 +646,7 @@ discard block |
||
| 646 | 646 | * |
| 647 | 647 | * @param string $path Абсолютный путь к файлу сайта |
| 648 | 648 | * |
| 649 | - * @param null $module |
|
| 649 | + * @param iModule $module |
|
| 650 | 650 | * @param array $code |
| 651 | 651 | * @param string $namespace |
| 652 | 652 | * |
@@ -1133,6 +1133,7 @@ discard block |
||
| 1133 | 1133 | |
| 1134 | 1134 | /** |
| 1135 | 1135 | * Copy resources |
| 1136 | + * @param string $module_output_path |
|
| 1136 | 1137 | */ |
| 1137 | 1138 | private function copy_path_resources($path_resources, $module_path, $module_output_path) |
| 1138 | 1139 | { |
@@ -1155,7 +1156,7 @@ discard block |
||
| 1155 | 1156 | * @param string $code Code to work with |
| 1156 | 1157 | * @param array $classes Array of class names to replace |
| 1157 | 1158 | * |
| 1158 | - * @return bool|mixed|string |
|
| 1159 | + * @return string |
|
| 1159 | 1160 | */ |
| 1160 | 1161 | private function removeUSEStatement($code, array $classes) |
| 1161 | 1162 | { |