@@ -335,7 +335,7 @@ |
||
335 | 335 | } |
336 | 336 | |
337 | 337 | /** |
338 | - * @return array |
|
338 | + * @return string |
|
339 | 339 | */ |
340 | 340 | public function get_default_lang() { |
341 | 341 | if ($this->db) { |
@@ -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) { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * @author Kaero |
74 | 74 | * @copyright ImageCMS (c) 2012, Kaero <[email protected]> |
75 | 75 | * @param array $EmptyFields |
76 | - * @return bool |
|
76 | + * @return false|null |
|
77 | 77 | */ |
78 | 78 | public function make($EmptyFields) { |
79 | 79 | if (ImportBootstrap::hasErrors()) { |
@@ -571,7 +571,7 @@ discard block |
||
571 | 571 | * Update Shop Products Categories |
572 | 572 | * @param array $arg Processed arguments list |
573 | 573 | * @param integer $productId Product Id for alias |
574 | - * @param $EmptyFields |
|
574 | + * @param boolean $EmptyFields |
|
575 | 575 | * @return bool|null |
576 | 576 | * @author Kaero |
577 | 577 | * @copyright ImageCMS (c) 2012, Kaero <[email protected]> |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | * @param integer $index номер элемента для натягивания шаблона |
321 | 321 | * @param string $wrapper натянутые шаблоны на всех всех наследников |
322 | 322 | * @access private |
323 | - * @return TRUE |
|
323 | + * @return boolean |
|
324 | 324 | */ |
325 | 325 | private function _prepare_item_tpl($index = 0, $wrapper = FALSE) { |
326 | 326 | if ($wrapper == TRUE) { |
@@ -355,9 +355,8 @@ discard block |
||
355 | 355 | /** |
356 | 356 | * Find sub menus |
357 | 357 | * |
358 | - * @param integer $id |
|
359 | 358 | * @access public |
360 | - * @return mixed |
|
359 | + * @return string|false |
|
361 | 360 | */ |
362 | 361 | private function _get_real_tpl($index = 0, $mode = "item") { |
363 | 362 | if ($mode == "item") { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | |
23 | 23 | /** |
24 | 24 | * singelton method |
25 | - * @return object BaseDiscount |
|
25 | + * @return Discount_product BaseDiscount |
|
26 | 26 | */ |
27 | 27 | public static function create() { |
28 | 28 | if (!self::$object) { |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * add item to wishlist |
45 | - * @param $varId |
|
45 | + * @param integer $varId |
|
46 | 46 | * @param $listId |
47 | 47 | * @param $listName |
48 | 48 | * @return mixed |
@@ -64,8 +64,8 @@ discard block |
||
64 | 64 | |
65 | 65 | /** |
66 | 66 | * move item |
67 | - * @param $varId |
|
68 | - * @param $wish_list_id |
|
67 | + * @param integer $varId |
|
68 | + * @param integer $wish_list_id |
|
69 | 69 | * @return mixed |
70 | 70 | */ |
71 | 71 | public function moveItem($varId, $wish_list_id) { |
@@ -86,7 +86,7 @@ discard block |
||
86 | 86 | |
87 | 87 | /** |
88 | 88 | * show WL by hash |
89 | - * @param $hash |
|
89 | + * @param string $hash |
|
90 | 90 | * @return boolean |
91 | 91 | */ |
92 | 92 | public function show($hash) { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | |
114 | 114 | /** |
115 | 115 | * get user by id |
116 | - * @param $user_id |
|
116 | + * @param integer $user_id |
|
117 | 117 | * @return boolean |
118 | 118 | */ |
119 | 119 | public function user($user_id) { |