@@ -11,6 +11,9 @@ discard block |
||
| 11 | 11 | |
| 12 | 12 | public static $duration = false; |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param boolean $duration |
|
| 16 | + */ |
|
| 14 | 17 | public function init($key, $duration) { |
| 15 | 18 | $ci = get_instance(); |
| 16 | 19 | |
@@ -24,6 +27,9 @@ discard block |
||
| 24 | 27 | return $data; |
| 25 | 28 | } |
| 26 | 29 | |
| 30 | + /** |
|
| 31 | + * @param string $content |
|
| 32 | + */ |
|
| 27 | 33 | public function storeCache($content) { |
| 28 | 34 | $ci = get_instance(); |
| 29 | 35 | |
@@ -110,6 +110,7 @@ |
||
| 110 | 110 | |
| 111 | 111 | /** |
| 112 | 112 | * Reads given session attribute value |
| 113 | + * @param string $item |
|
| 113 | 114 | */ |
| 114 | 115 | public function userdata($item) { |
| 115 | 116 | |
@@ -6,6 +6,7 @@ |
||
| 6 | 6 | * Include file (or all recursively files in dir) |
| 7 | 7 | * The starting directory is the directory where the class is (witch using trait) |
| 8 | 8 | * @param string $filePath |
| 9 | + * @return void |
|
| 9 | 10 | */ |
| 10 | 11 | public function import($filePath); |
| 11 | 12 | |
@@ -63,7 +63,7 @@ |
||
| 63 | 63 | /** |
| 64 | 64 | * Prepare array with child categorie's ids |
| 65 | 65 | * @param array $dataArray |
| 66 | - * @return boolean|array |
|
| 66 | + * @return false|string |
|
| 67 | 67 | */ |
| 68 | 68 | public function prepareArray($dataArray = null) { |
| 69 | 69 | if ($dataArray == null) { |
@@ -69,7 +69,6 @@ |
||
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | 71 | * Метод обработчик |
| 72 | - * @param type $commentId <p>ID коментария который был только что создан.</p> |
|
| 73 | 72 | */ |
| 74 | 73 | public static function handler(array $param) { |
| 75 | 74 | $instance = new Sample_Module(); |
@@ -178,7 +178,7 @@ |
||
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
| 181 | - * @return array |
|
| 181 | + * @return string[] |
|
| 182 | 182 | */ |
| 183 | 183 | public function getEasingTypes() { |
| 184 | 184 | return [ |
@@ -150,7 +150,7 @@ |
||
| 150 | 150 | /** |
| 151 | 151 | * Run self::getQueries() with DROP_PATTERN |
| 152 | 152 | * |
| 153 | - * @return array |
|
| 153 | + * @return string[] |
|
| 154 | 154 | */ |
| 155 | 155 | protected function getDropQueries() { |
| 156 | 156 | |
@@ -7,7 +7,7 @@ discard block |
||
| 7 | 7 | if (!function_exists('admin_or_redirect')) { |
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | - * @return bool |
|
| 10 | + * @return boolean|null |
|
| 11 | 11 | */ |
| 12 | 12 | function admin_or_redirect() { |
| 13 | 13 | if (PHP_SAPI == 'cli') { |
@@ -43,7 +43,7 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @param string $perm |
| 46 | - * @return bool |
|
| 46 | + * @return boolean|null |
|
| 47 | 47 | */ |
| 48 | 48 | function cp_check_perm($perm) { |
| 49 | 49 | $ci = & get_instance(); |
@@ -621,7 +621,7 @@ |
||
| 621 | 621 | * @access public |
| 622 | 622 | * @param string $page_id |
| 623 | 623 | * @param bool $show_messages |
| 624 | - * @return bool |
|
| 624 | + * @return boolean|null |
|
| 625 | 625 | */ |
| 626 | 626 | public function delete($page_id, $show_messages = TRUE) { |
| 627 | 627 | |