@@ -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 | { |
@@ -8,7 +8,6 @@ |
||
8 | 8 | namespace samsonphp\compressor; |
9 | 9 | |
10 | 10 | use samson\core\Service; |
11 | -use samsonphp\event\Event; |
|
12 | 11 | |
13 | 12 | /** |
14 | 13 | * UI module controller |
@@ -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 |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | * @param string $view_file Полный путь к файлу представления |
116 | 116 | * @param iModule $module Указатель на модуль которому принадлежит это представление |
117 | 117 | * |
118 | - * @return bool |
|
118 | + * @return boolean|null |
|
119 | 119 | */ |
120 | 120 | public function compress_view($view_file, iModule & $module) |
121 | 121 | { |
@@ -1136,6 +1136,7 @@ discard block |
||
1136 | 1136 | |
1137 | 1137 | /** |
1138 | 1138 | * Copy resources |
1139 | + * @param string $module_output_path |
|
1139 | 1140 | */ |
1140 | 1141 | private function copy_path_resources($path_resources, $module_path, $module_output_path) |
1141 | 1142 | { |
@@ -1158,7 +1159,7 @@ discard block |
||
1158 | 1159 | * @param string $code Code to work with |
1159 | 1160 | * @param array $classes Array of class names to replace |
1160 | 1161 | * |
1161 | - * @return bool|mixed|string |
|
1162 | + * @return string |
|
1162 | 1163 | */ |
1163 | 1164 | private function removeUSEStatement($code, array $classes) |
1164 | 1165 | { |