@@ -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 | |
@@ -4,11 +4,15 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface ResultInterface { |
| 6 | 6 | |
| 7 | + /** |
|
| 8 | + * @return void |
|
| 9 | + */ |
|
| 7 | 10 | public function __construct($groupName); |
| 8 | 11 | |
| 9 | 12 | /** |
| 10 | 13 | * @param string $name |
| 11 | 14 | * @param string $url |
| 15 | + * @return void |
|
| 12 | 16 | */ |
| 13 | 17 | public function addResult($name , $url); |
| 14 | 18 | |
@@ -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(); |
@@ -135,6 +135,8 @@ |
||
| 135 | 135 | * Get value of category item |
| 136 | 136 | * |
| 137 | 137 | * @access public |
| 138 | + * @param string $param |
|
| 139 | + * @return string |
|
| 138 | 140 | */ |
| 139 | 141 | public function GetValue($cat_id, $param) { |
| 140 | 142 | if ($this->unsorted_arr == FALSE) { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * Check if widgets folder is writable |
| 82 | - * @return null|false |
|
| 82 | + * @return boolean |
|
| 83 | 83 | */ |
| 84 | 84 | private function _is_writable() { |
| 85 | 85 | $this->db->where('s_name', 'main'); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
| 99 | - * @return bool |
|
| 99 | + * @return null|false |
|
| 100 | 100 | */ |
| 101 | 101 | public function create() { |
| 102 | 102 | if (!$this->_is_writable()) { |
@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | * @param integer $id |
| 337 | 337 | * @param bool|FALSE $update_info |
| 338 | 338 | * @param null|string $locale |
| 339 | - * @return bool |
|
| 339 | + * @return false|null |
|
| 340 | 340 | */ |
| 341 | 341 | public function update_widget($id, $update_info = FALSE, $locale = NULL) { |
| 342 | 342 | //cp_check_perm('widget_access_settings'); |
@@ -609,7 +609,7 @@ |
||
| 609 | 609 | } |
| 610 | 610 | |
| 611 | 611 | /** |
| 612 | - * @param array $ids |
|
| 612 | + * @param string $ids |
|
| 613 | 613 | * @param string $module |
| 614 | 614 | * @param int $status |
| 615 | 615 | * @return array|void |
@@ -798,7 +798,7 @@ |
||
| 798 | 798 | /** |
| 799 | 799 | * Check user access for page |
| 800 | 800 | * @param array $roles |
| 801 | - * @return bool |
|
| 801 | + * @return boolean|null |
|
| 802 | 802 | */ |
| 803 | 803 | public function check_page_access($roles) { |
| 804 | 804 | |
@@ -828,6 +828,7 @@ |
||
| 828 | 828 | /** |
| 829 | 829 | * Method-helper for simplify processProducts1 method |
| 830 | 830 | * @param SimpleXMLElement $product |
| 831 | + * @param integer $categoryId |
|
| 831 | 832 | * @return array |
| 832 | 833 | */ |
| 833 | 834 | protected function pass1Helper_getPropertiesData(SimpleXMLElement $product, $categoryId) { |