@@ -218,7 +218,7 @@ |
||
| 218 | 218 | /** |
| 219 | 219 | * Check user access for page |
| 220 | 220 | * @param array $roles |
| 221 | - * @return bool |
|
| 221 | + * @return boolean|null |
|
| 222 | 222 | */ |
| 223 | 223 | public function checkPageAccess($roles) { |
| 224 | 224 | |
@@ -551,7 +551,7 @@ |
||
| 551 | 551 | * @param int $property_id |
| 552 | 552 | * @param int $product_id |
| 553 | 553 | * @param int $value_id |
| 554 | - * @return bool |
|
| 554 | + * @return false|null |
|
| 555 | 555 | */ |
| 556 | 556 | private function checkPropertiesData($property_id, $product_id, $value_id) { |
| 557 | 557 | |
@@ -203,7 +203,7 @@ |
||
| 203 | 203 | /** |
| 204 | 204 | * Create modules table in db |
| 205 | 205 | * |
| 206 | - * @return bool |
|
| 206 | + * @return boolean|null |
|
| 207 | 207 | */ |
| 208 | 208 | public function _install() { |
| 209 | 209 | |
@@ -318,7 +318,7 @@ discard block |
||
| 318 | 318 | * @param integer $index номер элемента для натягивания шаблона |
| 319 | 319 | * @param string $wrapper натянутые шаблоны на всех всех наследников |
| 320 | 320 | * @access private |
| 321 | - * @return TRUE |
|
| 321 | + * @return boolean |
|
| 322 | 322 | */ |
| 323 | 323 | private function _prepare_item_tpl($index = 0, $wrapper = FALSE) { |
| 324 | 324 | if ($wrapper == TRUE) { |
@@ -353,9 +353,8 @@ discard block |
||
| 353 | 353 | /** |
| 354 | 354 | * Find sub menus |
| 355 | 355 | * |
| 356 | - * @param integer $id |
|
| 357 | 356 | * @access public |
| 358 | - * @return mixed |
|
| 357 | + * @return string|false |
|
| 359 | 358 | */ |
| 360 | 359 | private function _get_real_tpl($index = 0, $mode = 'item') { |
| 361 | 360 | if ($mode == 'item') { |
@@ -174,6 +174,9 @@ discard block |
||
| 174 | 174 | return ($callbackParams['md5'] == $md5); |
| 175 | 175 | } |
| 176 | 176 | |
| 177 | + /** |
|
| 178 | + * @param integer $code |
|
| 179 | + */ |
|
| 177 | 180 | public function sendAviso($callbackParams, $code) { |
| 178 | 181 | header('Content-type: text/xml; charset=utf-8'); |
| 179 | 182 | $xml = '<?xml version="1.0" encoding="UTF-8"?> |
@@ -181,6 +184,9 @@ discard block |
||
| 181 | 184 | echo $xml; |
| 182 | 185 | } |
| 183 | 186 | |
| 187 | + /** |
|
| 188 | + * @param integer|null $code |
|
| 189 | + */ |
|
| 184 | 190 | public function sendCode($callbackParams, $code) { |
| 185 | 191 | header('Content-type: text/xml; charset=utf-8'); |
| 186 | 192 | $xml = '<?xml version="1.0" encoding="UTF-8"?> |
@@ -70,7 +70,7 @@ |
||
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | 72 | * Get errors |
| 73 | - * @return array |
|
| 73 | + * @return string |
|
| 74 | 74 | */ |
| 75 | 75 | public function getErrors() { |
| 76 | 76 | return $this->errors; |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | |
| 62 | 62 | /** |
| 63 | 63 | * @param string $url |
| 64 | - * @return mixed |
|
| 64 | + * @return string |
|
| 65 | 65 | */ |
| 66 | 66 | private function open_https_url($url, $refer = '') { |
| 67 | 67 | $ch = curl_init(); |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * |
| 309 | 309 | * @param string $msg |
| 310 | 310 | * @param int $priority One of the Propel::LOG_* logging levels |
| 311 | - * @return boolean |
|
| 311 | + * @return boolean|null |
|
| 312 | 312 | */ |
| 313 | 313 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 314 | 314 | { |
@@ -1101,7 +1101,7 @@ discard block |
||
| 1101 | 1101 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 1102 | 1102 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 1103 | 1103 | * |
| 1104 | - * @param mixed $parser A AbstractParser instance, |
|
| 1104 | + * @param string $parser A AbstractParser instance, |
|
| 1105 | 1105 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 1106 | 1106 | * @param string $data The source data to import from |
| 1107 | 1107 | * @param string $keyType The type of keys the array uses. |
@@ -308,7 +308,7 @@ discard block |
||
| 308 | 308 | * |
| 309 | 309 | * @param string $msg |
| 310 | 310 | * @param int $priority One of the Propel::LOG_* logging levels |
| 311 | - * @return boolean |
|
| 311 | + * @return boolean|null |
|
| 312 | 312 | */ |
| 313 | 313 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 314 | 314 | { |
@@ -1101,7 +1101,7 @@ discard block |
||
| 1101 | 1101 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 1102 | 1102 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 1103 | 1103 | * |
| 1104 | - * @param mixed $parser A AbstractParser instance, |
|
| 1104 | + * @param string $parser A AbstractParser instance, |
|
| 1105 | 1105 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 1106 | 1106 | * @param string $data The source data to import from |
| 1107 | 1107 | * @param string $keyType The type of keys the array uses. |