Completed
Push — master ( ee7c85...38dc65 )
by Vitaly
03:32 queued 56s
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
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      * @param string $view_file Полный путь к файлу представления
100 100
      * @param iModule $module Указатель на модуль которому принадлежит это представление
101 101
      *
102
-     * @return bool
102
+     * @return boolean|null
103 103
      */
104 104
     public function compress_view($view_file, iModule & $module)
105 105
     {
@@ -595,7 +595,7 @@  discard block
 block discarded – undo
595 595
      *
596 596
      * @param string $path Абсолютный путь к файлу сайта
597 597
      *
598
-     * @param null $module
598
+     * @param iModule $module
599 599
      * @param array $code
600 600
      * @param string $namespace
601 601
      *
@@ -1066,6 +1066,7 @@  discard block
 block discarded – undo
1066 1066
 
1067 1067
     /**
1068 1068
      * Copy resources
1069
+     * @param string $module_output_path
1069 1070
      */
1070 1071
     private function copy_path_resources($path_resources, $module_path, $module_output_path)
1071 1072
     {
@@ -1088,7 +1089,7 @@  discard block
 block discarded – undo
1088 1089
      * @param string $code Code to work with
1089 1090
      * @param array $classes Array of class names to replace
1090 1091
      *
1091
-     * @return bool|mixed|string
1092
+     * @return boolean|string
1092 1093
      */
1093 1094
     private function removeUSEStatement($code, array $classes)
1094 1095
     {
Please login to merge, or discard this patch.