Completed
Pull Request — master (#23)
by Shestakov
15:36
created
Source/Ice/DataProvider/Repository.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -178,7 +178,7 @@
 block discarded – undo
178 178
      * Connect to data provider
179 179
      *
180 180
      * @param  $connection
181
-     * @return boolean
181
+     * @return DataProvider
182 182
      *
183 183
      * @author dp <[email protected]>
184 184
      *
Please login to merge, or discard this patch.
Source/Ice/Helper/Config.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      * Get more then one params of config
12 12
      *
13 13
      * @param  array $config
14
-     * @param  $key
14
+     * @param  string $key
15 15
      * @param  bool $isRequired_default
16 16
      * @return array
17 17
      * @author dp <[email protected]>
Please login to merge, or discard this patch.
Source/Ice/Helper/Directory.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,8 +31,8 @@  discard block
 block discarded – undo
31 31
     /**
32 32
      * Recursively copy directory
33 33
      *
34
-     * @param $source
35
-     * @param $dest
34
+     * @param string $source
35
+     * @param string $dest
36 36
      *
37 37
      * @param int $chmod
38 38
      * @throws \Ice\Core\Exception
@@ -148,6 +148,9 @@  discard block
 block discarded – undo
148 148
         return $dirPath;
149 149
     }
150 150
 
151
+    /**
152
+     * @param string $path
153
+     */
151 154
     public static function getFileNames($path)
152 155
     {
153 156
         return array_diff(scandir($path), ['..', '.']);
Please login to merge, or discard this patch.
Source/Ice/Helper/Logger.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
      * @param \Exception $exception
125 125
      * @param $output
126 126
      *
127
-     * @param $class
127
+     * @param string $class
128 128
      * @throws \Exception
129 129
      * @author dp <[email protected]>
130 130
      *
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -10,11 +10,9 @@
 block discarded – undo
10 10
 namespace Ice\Helper;
11 11
 
12 12
 use Ice\Core\Console as Core_Console;
13
-use Ice\Core\Debuger;
14 13
 use Ice\Core\Exception;
15 14
 use Ice\Core\Logger as Core_Logger;
16 15
 use Ice\Core\Render;
17
-use Ice\Core\Request;
18 16
 use Ice\Core\Request as Core_Request;
19 17
 use Ice\DataProvider\Request as DataProvider_Request;
20 18
 use Ice\Render\Php as Render_Php;
Please login to merge, or discard this patch.
Source/Ice/Helper/Serializer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@
 block discarded – undo
90 90
     /**
91 91
      * Unserialize with known serializer
92 92
      *
93
-     * @param  mixed $data
93
+     * @param  string $data
94 94
      * @param  string $serializer
95 95
      * @throws Exception
96 96
      * @return string
Please login to merge, or discard this patch.
Source/Ice/Helper/Vcs.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * Init local repository
33 33
      *
34 34
      * @param $vcs
35
-     * @param $dir
35
+     * @param string $dir
36 36
      *
37 37
      * @author dp <[email protected]>
38 38
      *
Please login to merge, or discard this patch.
Source/Ice/Render/Replace.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      * @param  array $data
57 57
      * @param null $layout
58 58
      * @param string $templateType
59
-     * @return mixed
59
+     * @return string
60 60
      * @throws \Exception
61 61
      * @author dp <[email protected]>
62 62
      *
Please login to merge, or discard this patch.
Source/Ice/Render/Twig.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
      * @param  array $data
78 78
      * @param null $layout
79 79
      * @param string $templateType
80
-     * @return mixed
80
+     * @return string|null
81 81
      * @throws \Exception
82 82
      * @author dp <[email protected]>
83 83
      *
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,6 @@
 block discarded – undo
14 14
 use Ice\Core\Logger;
15 15
 use Ice\Core\Module;
16 16
 use Ice\Core\Render;
17
-use Ice\Core\ViiewOld;
18 17
 
19 18
 /**
20 19
  * Class Twig
Please login to merge, or discard this patch.
Source/Ice/SessionHandler/DataSource.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      *
51 51
      * @link   http://php.net/manual/en/sessionhandlerinterafce.destroy.php
52 52
      * @param  int $session_id The session ID being destroyed.
53
-     * @return bool <p>
53
+     * @return boolean|null <p>
54 54
      * The return value (usually TRUE on success, FALSE on failure).
55 55
      * Note this value is returned internally to PHP for processing.
56 56
      * </p>
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
      * string and passing it as this parameter.
164 164
      * Please note sessions use an alternative serialization method.
165 165
      * </p>
166
-     * @return bool <p>
166
+     * @return boolean|null <p>
167 167
      * The return value (usually TRUE on success, FALSE on failure).
168 168
      * Note this value is returned internally to PHP for processing.
169 169
      * </p>
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,10 +8,8 @@
 block discarded – undo
8 8
 
9 9
 namespace Ice\WidgetComponent;
10 10
 
11
-use Ice\Core\Debuger;
12 11
 use Ice\Core\Render;
13 12
 use Ice\Core\Resource;
14
-use Ice\Exception\Error;
15 13
 use Ice\Helper\String;
16 14
 use Ice\Render\Replace;
17 15
 
Please login to merge, or discard this patch.