@@ -546,6 +546,9 @@ |
||
| 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]; |
@@ -42,7 +42,7 @@ |
||
| 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 | * |
@@ -165,6 +165,9 @@ discard block |
||
| 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 |
||
| 265 | 268 | } |
| 266 | 269 | |
| 267 | 270 | /** |
| 268 | - * @return string |
|
| 271 | + * @return |
|
| 269 | 272 | */ |
| 270 | 273 | public function getResourceClass() |
| 271 | 274 | { |
@@ -178,7 +178,7 @@ |
||
| 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 | * |
@@ -2,7 +2,6 @@ |
||
| 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; |
@@ -11,7 +11,7 @@ |
||
| 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]> |
@@ -31,8 +31,8 @@ discard block |
||
| 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 |
||
| 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), ['..', '.']); |
@@ -124,7 +124,7 @@ |
||
| 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 | * |
@@ -13,7 +13,6 @@ |
||
| 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; |
@@ -90,7 +90,7 @@ |
||
| 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 |