Completed
Pull Request — master (#23)
by Shestakov
08:07
created
Source/Ice/Core/QueryResult.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -546,6 +546,9 @@
 block discarded – undo
546 546
         return $string;
547 547
     }
548 548
 
549
+    /**
550
+     * @return integer
551
+     */
549 552
     public function getFoundRows()
550 553
     {
551 554
         return $this->result[QueryResult::FOUND_ROWS];
Please login to merge, or discard this patch.
Source/Ice/Core/Render.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
     /**
44 44
      * @param null $key
45
-     * @param null $ttl
45
+     * @param integer|null $ttl
46 46
      * @param array $params
47 47
      * @return Render
48 48
      *
Please login to merge, or discard this patch.
Source/Ice/Core/Resource.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,6 +165,9 @@  discard block
 block discarded – undo
165 165
         return $resources;
166 166
     }
167 167
 
168
+    /**
169
+     * @param string $message
170
+     */
168 171
     public function set($message)
169 172
     {
170 173
         if (empty($message)) {
@@ -265,7 +268,7 @@  discard block
 block discarded – undo
265 268
     }
266 269
 
267 270
     /**
268
-     * @return string
271
+     * @return 
269 272
      */
270 273
     public function getResourceClass()
271 274
     {
Please login to merge, or discard this patch.
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/Api/Client/Yandex/Translate.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Ice\Helper;
4 4
 
5
-use Ice\Core\Config;
6 5
 use Ice\Core\Config as Core_Config;
7 6
 use Ice\Core\Request as Core_Request;
8 7
 use Ice\DataProvider\Repository;
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   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Ice\Core\Exception;
14 14
 use Ice\Core\Logger as Core_Logger;
15 15
 use Ice\Core\Render;
16
-use Ice\Core\Request;
17 16
 use Ice\Core\Request as Core_Request;
18 17
 use Ice\DataProvider\Request as DataProvider_Request;
19 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.