@@ -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 | { |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | * @param string $view_file Полный путь к файлу представления |
| 97 | 97 | * @param iModule $module Указатель на модуль которому принадлежит это представление |
| 98 | 98 | * |
| 99 | - * @return bool |
|
| 99 | + * @return boolean|null |
|
| 100 | 100 | */ |
| 101 | 101 | public function compress_view( $view_file, iModule & $module ) |
| 102 | 102 | { |
@@ -601,7 +601,7 @@ discard block |
||
| 601 | 601 | * |
| 602 | 602 | * @param string $path Абсолютный путь к файлу сайта |
| 603 | 603 | * |
| 604 | - * @param null $module |
|
| 604 | + * @param iModule $module |
|
| 605 | 605 | * @param array $code |
| 606 | 606 | * @param string $namespace |
| 607 | 607 | * |
@@ -979,6 +979,7 @@ discard block |
||
| 979 | 979 | |
| 980 | 980 | /** |
| 981 | 981 | * Copy resources |
| 982 | + * @param string $module_output_path |
|
| 982 | 983 | */ |
| 983 | 984 | private function copy_path_resources( $path_resources, $module_path, $module_output_path ) |
| 984 | 985 | { |
@@ -1001,7 +1002,7 @@ discard block |
||
| 1001 | 1002 | * @param string $code Code to work with |
| 1002 | 1003 | * @param array $classes Array of class names to replace |
| 1003 | 1004 | * |
| 1004 | - * @return bool|mixed|string |
|
| 1005 | + * @return boolean|string |
|
| 1005 | 1006 | */ |
| 1006 | 1007 | private function removeUSEStatement( $code, array $classes ) |
| 1007 | 1008 | { |
@@ -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 |