@@ -607,7 +607,7 @@ |
||
607 | 607 | } |
608 | 608 | |
609 | 609 | /** |
610 | - * @return a code representation of the recorded macro. |
|
610 | + * @return string|null code representation of the recorded macro. |
|
611 | 611 | */ |
612 | 612 | function content_copy_get_macro() { |
613 | 613 | // Define the indexes for the evaluated code. |
@@ -788,7 +788,7 @@ |
||
788 | 788 | * @param $ids |
789 | 789 | * Optional node ids to lookup (the $string and $match arguments will be |
790 | 790 | * ignored). |
791 | - * @param $limit |
|
791 | + * @param integer $limit |
|
792 | 792 | * If non-zero, limit the size of the result set. |
793 | 793 | * |
794 | 794 | * @return |
@@ -653,7 +653,7 @@ |
||
653 | 653 | * @param $ids |
654 | 654 | * Optional user ids to lookup (the $string and $match arguments will be |
655 | 655 | * ignored). |
656 | - * @param $limit |
|
656 | + * @param integer $limit |
|
657 | 657 | * If non-zero, limit the size of the result set. |
658 | 658 | * |
659 | 659 | * @return |
@@ -99,6 +99,7 @@ discard block |
||
99 | 99 | |
100 | 100 | /** |
101 | 101 | * Presents a node editing or adding form for the given content profile. |
102 | + * @param string $type |
|
102 | 103 | */ |
103 | 104 | function content_profile_page_edit($type, $account) { |
104 | 105 | drupal_set_title(check_plain($account->name)); |
@@ -211,7 +212,7 @@ discard block |
||
211 | 212 | * @param $op |
212 | 213 | * When set to 'types', content profile content types are returned |
213 | 214 | * as type objects. When set to 'names', only their type names are returned. |
214 | - * @param $setting |
|
215 | + * @param string $setting |
|
215 | 216 | * If set, only content types that have this setting activated are returned. |
216 | 217 | * Leave it NULL to get all content profile types. |
217 | 218 | * @param $value |
@@ -10,6 +10,7 @@ discard block |
||
10 | 10 | |
11 | 11 | /** |
12 | 12 | * Rewrite the forum administration page with our new access rules. |
13 | + * @param boolean $is_container |
|
13 | 14 | */ |
14 | 15 | function _forum_access_forum_form(&$form, &$form_state, $is_container) { |
15 | 16 | $tid = (isset($form['tid']['#value']) ? $form['tid']['#value'] : NULL); |
@@ -663,6 +664,8 @@ discard block |
||
663 | 664 | * This is a multistep operation : we go through all nodes by packs of 20. |
664 | 665 | * The batch processing engine interrupts processing and sends progress |
665 | 666 | * feedback after 1 second execution time. |
667 | + * @param integer $limit |
|
668 | + * @param integer $count |
|
666 | 669 | */ |
667 | 670 | function _forum_access_update_batch_operation($tid, $limit, $count, &$context) { |
668 | 671 | if (empty($context['sandbox'])) { |
@@ -693,6 +696,7 @@ discard block |
||
693 | 696 | |
694 | 697 | /** |
695 | 698 | * Post-processing for forum_access_form_submit(). |
699 | + * @param boolean $success |
|
696 | 700 | */ |
697 | 701 | function _forum_access_update_batch_finished($success, $results, $operations) { |
698 | 702 | if ($success) { |
@@ -143,7 +143,7 @@ |
||
143 | 143 | * Return the Views fields that should be translated. |
144 | 144 | * |
145 | 145 | * @return |
146 | - * Array of field names. |
|
146 | + string[] Array of field names. |
|
147 | 147 | */ |
148 | 148 | function _i18nviews_display_fields() { |
149 | 149 | return array('title', 'header', 'footer', 'empty'); |
@@ -161,7 +161,6 @@ |
||
161 | 161 | * |
162 | 162 | * @param array $form_state |
163 | 163 | * @param array $options |
164 | - * @param integer $active |
|
165 | 164 | * @return array |
166 | 165 | */ |
167 | 166 | function jump_quickly_form(&$form_state, $options, $menu_state) { |
@@ -374,7 +374,7 @@ discard block |
||
374 | 374 | * messages from. |
375 | 375 | * |
376 | 376 | * @return |
377 | - * TRUE if the user is allowed to block $account, or FALSE if not. |
|
377 | + boolean TRUE if the user is allowed to block $account, or FALSE if not. |
|
378 | 378 | */ |
379 | 379 | function _pm_block_user_access($account) { |
380 | 380 | global $user; |
@@ -399,11 +399,11 @@ discard block |
||
399 | 399 | * Author user object to check. |
400 | 400 | * @param $recipient |
401 | 401 | * Receiver user object to check. |
402 | - * @param $action |
|
402 | + * @param integer $action |
|
403 | 403 | * The action to be taken, defaults to PM_BLOCK_USER_DISALLOW_BLOCKING. |
404 | 404 | * |
405 | 405 | * @return |
406 | - * TRUE if a rule exists for the combination of author recipient and action. |
|
406 | + boolean TRUE if a rule exists for the combination of author recipient and action. |
|
407 | 407 | */ |
408 | 408 | function _pm_block_user_rule_exists($author, $recipient, $action = PM_BLOCK_USER_DISALLOW_BLOCKING) { |
409 | 409 | $block_actions = variable_get('pm_block_user_actions', array()); |
@@ -148,6 +148,8 @@ |
||
148 | 148 | * Implements hook_user(). |
149 | 149 | * |
150 | 150 | * Display settings form and store its information. |
151 | + * @param string $op |
|
152 | + * @param string $category |
|
151 | 153 | */ |
152 | 154 | function pm_email_notify_user($op, &$edit, &$account, $category = NULL) { |
153 | 155 | switch ($op) { |