Completed
Push — master ( 890a94...88aecf )
by Nikita
03:20
created
src/Code.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Controller.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
src/EventCompressor.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
src/Compressor.php 1 patch
Doc Comments   +4 added lines, -3 removed lines patch added patch discarded remove patch
@@ -113,7 +113,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.