@@ -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 | |
@@ -290,7 +290,7 @@ |
||
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | /** |
| 293 | - * @return bool |
|
| 293 | + * @return false|null |
|
| 294 | 294 | */ |
| 295 | 295 | public function Querys() { |
| 296 | 296 | |
@@ -115,6 +115,9 @@ |
||
| 115 | 115 | } |
| 116 | 116 | } |
| 117 | 117 | |
| 118 | + /** |
|
| 119 | + * @param string $locale |
|
| 120 | + */ |
|
| 118 | 121 | public function getTemplateVariables($template_id, $locale) { |
| 119 | 122 | $query = $this->db->where('id', $template_id)->where('locale', $locale)->get('mod_email_paterns_i18n'); |
| 120 | 123 | if ($query) { |
@@ -227,7 +227,7 @@ discard block |
||
| 227 | 227 | /** |
| 228 | 228 | * @param string $string |
| 229 | 229 | * @param string $prev_string |
| 230 | - * @return null|string |
|
| 230 | + * @return string |
|
| 231 | 231 | */ |
| 232 | 232 | public function make($string, $prev_string) { |
| 233 | 233 | |
@@ -425,7 +425,7 @@ discard block |
||
| 425 | 425 | * @param string $string |
| 426 | 426 | * @param integer $part |
| 427 | 427 | * @param bool $ucFirst |
| 428 | - * @return array |
|
| 428 | + * @return string |
|
| 429 | 429 | */ |
| 430 | 430 | public function getMorph($string, $part, $ucFirst = false) { |
| 431 | 431 | |
@@ -809,7 +809,7 @@ discard block |
||
| 809 | 809 | } |
| 810 | 810 | |
| 811 | 811 | /** |
| 812 | - * @param array $metaArray |
|
| 812 | + * @param string[] $metaArray |
|
| 813 | 813 | */ |
| 814 | 814 | public function setMetaArray($metaArray) { |
| 815 | 815 | |
@@ -440,7 +440,7 @@ |
||
| 440 | 440 | } |
| 441 | 441 | |
| 442 | 442 | /** |
| 443 | - * @return true |
|
| 443 | + * @return boolean |
|
| 444 | 444 | */ |
| 445 | 445 | public function deinstallModule() { |
| 446 | 446 | |
@@ -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) { |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | |
| 14 | 14 | /** |
| 15 | 15 | * @param string $content |
| 16 | - * @return mixed |
|
| 16 | + * @return string |
|
| 17 | 17 | */ |
| 18 | 18 | function href_nofollow($content) { |
| 19 | 19 | return preg_replace_callback('/<(a\s[^>]+)>/isU', 'seo_nofollow_replace', $content); |
@@ -287,7 +287,7 @@ discard block |
||
| 287 | 287 | * |
| 288 | 288 | * @param string $msg |
| 289 | 289 | * @param int $priority One of the Propel::LOG_* logging levels |
| 290 | - * @return boolean |
|
| 290 | + * @return boolean|null |
|
| 291 | 291 | */ |
| 292 | 292 | protected function log($msg, $priority = Propel::LOG_INFO) |
| 293 | 293 | { |
@@ -933,7 +933,7 @@ discard block |
||
| 933 | 933 | * TableMap::TYPE_COLNAME, TableMap::TYPE_FIELDNAME, TableMap::TYPE_NUM. |
| 934 | 934 | * The default key type is the column's TableMap::TYPE_PHPNAME. |
| 935 | 935 | * |
| 936 | - * @param mixed $parser A AbstractParser instance, |
|
| 936 | + * @param string $parser A AbstractParser instance, |
|
| 937 | 937 | * or a format name ('XML', 'YAML', 'JSON', 'CSV') |
| 938 | 938 | * @param string $data The source data to import from |
| 939 | 939 | * @param string $keyType The type of keys the array uses. |
@@ -146,7 +146,7 @@ |
||
| 146 | 146 | * $obj = $c->findPk(12, $con); |
| 147 | 147 | * </code> |
| 148 | 148 | * |
| 149 | - * @param mixed $key Primary key to use for the query |
|
| 149 | + * @param integer $key Primary key to use for the query |
|
| 150 | 150 | * @param ConnectionInterface $con an optional connection object |
| 151 | 151 | * |
| 152 | 152 | * @return ChildBanners|array|mixed the result, formatted by the current formatter |