@@ -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 | * |
@@ -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 | * |
@@ -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 |
@@ -32,7 +32,7 @@ |
||
| 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 | * |
@@ -56,7 +56,7 @@ |
||
| 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 | * |
@@ -77,7 +77,7 @@ |
||
| 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 | * |
@@ -50,7 +50,7 @@ discard block |
||
| 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 |
||
| 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> |