@@ -190,7 +190,7 @@ |
||
190 | 190 | * |
191 | 191 | * @param string $event_slug The slug of the event this reaction is for. |
192 | 192 | * |
193 | - * @return int|false The reaction ID, or false if not created. |
|
193 | + * @return integer The reaction ID, or false if not created. |
|
194 | 194 | */ |
195 | 195 | abstract protected function _create_reaction( $event_slug ); |
196 | 196 | } |
@@ -103,7 +103,7 @@ |
||
103 | 103 | * |
104 | 104 | * @param int|string $number The hook number or ID to get the points for. |
105 | 105 | * |
106 | - * @return int|false The number of points for this instance, or false. |
|
106 | + * @return integer The number of points for this instance, or false. |
|
107 | 107 | */ |
108 | 108 | public function get_points( $number = null ) { |
109 | 109 |
@@ -421,7 +421,7 @@ |
||
421 | 421 | * @since 2.0.0 |
422 | 422 | * |
423 | 423 | * @param string $key The log meta key to match on. |
424 | - * @param mixed $value The log meta value to match on. |
|
424 | + * @param integer $value The log meta value to match on. |
|
425 | 425 | * @param string $new_key The key for the new meta value to add. |
426 | 426 | * @param mixed $new_value The new meta value to add. If falsey, new meta isn't added. |
427 | 427 | */ |
@@ -294,7 +294,7 @@ discard block |
||
294 | 294 | * 'default', which will return a list of the most recent points logs, with |
295 | 295 | * users excluded according to the general settings. |
296 | 296 | * |
297 | - * @return WordPoints_Points_Logs_Query|false Logs query instance, or false. |
|
297 | + * @return WordPoints_Points_Logs_Query Logs query instance, or false. |
|
298 | 298 | */ |
299 | 299 | function wordpoints_get_points_logs_query( $points_type, $query_slug = 'default' ) { |
300 | 300 | |
@@ -466,6 +466,11 @@ discard block |
||
466 | 466 | * @since 1.9.0 |
467 | 467 | * |
468 | 468 | * @WordPress\action wordpoints_points_log-comment_disapprove |
469 | + * @param string $text |
|
470 | + * @param integer $points |
|
471 | + * @param string $points_type |
|
472 | + * @param integer $user_id |
|
473 | + * @param string $log_type |
|
469 | 474 | */ |
470 | 475 | function wordpoints_points_logs_comment_disapprove( $text, $points, $points_type, $user_id, $log_type, $meta ) { |
471 | 476 | |
@@ -492,6 +497,11 @@ discard block |
||
492 | 497 | * @since 1.9.0 |
493 | 498 | * |
494 | 499 | * @WordPress\action wordpoints_points_log-post_delete |
500 | + * @param string $text |
|
501 | + * @param integer $points |
|
502 | + * @param string $points_type |
|
503 | + * @param integer $user_id |
|
504 | + * @param string $log_type |
|
495 | 505 | */ |
496 | 506 | function wordpoints_points_logs_post_delete( $text, $points, $points_type, $user_id, $log_type, $meta ) { |
497 | 507 |
@@ -363,7 +363,7 @@ |
||
363 | 363 | * |
364 | 364 | * @param string $type The slug for a points type. |
365 | 365 | * |
366 | - * @return int|false The minimum for this type of points. False if $type is bad. |
|
366 | + * @return integer The minimum for this type of points. False if $type is bad. |
|
367 | 367 | */ |
368 | 368 | function wordpoints_get_points_minimum( $type ) { |
369 | 369 |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | * |
174 | 174 | * @param mixed $maybe_int The value to convert to an integer. |
175 | 175 | * |
176 | - * @return int|false False if $maybe_int couldn't reliably be converted to an integer. |
|
176 | + * @return integer False if $maybe_int couldn't reliably be converted to an integer. |
|
177 | 177 | */ |
178 | 178 | function wordpoints_int( &$maybe_int ) { |
179 | 179 | |
@@ -969,7 +969,7 @@ discard block |
||
969 | 969 | * @since 1.0.1 |
970 | 970 | * @since 1.8.0 The $message now supports WP_Error objects. |
971 | 971 | * |
972 | - * @param string|WP_Error $message The error message. |
|
972 | + * @param string $message The error message. |
|
973 | 973 | * |
974 | 974 | * @return string The error message. |
975 | 975 | */ |
@@ -92,6 +92,7 @@ discard block |
||
92 | 92 | * |
93 | 93 | * @param string $parent_slug The group slug. |
94 | 94 | * @param string $slug The slug of the class to deregister. |
95 | + * @return void |
|
95 | 96 | */ |
96 | 97 | public function deregister( $parent_slug, $slug ); |
97 | 98 | |
@@ -101,6 +102,7 @@ discard block |
||
101 | 102 | * @since 2.1.0 |
102 | 103 | * |
103 | 104 | * @param string $parent_slug The group slug. |
105 | + * @return void |
|
104 | 106 | */ |
105 | 107 | public function deregister_children( $parent_slug ); |
106 | 108 |
@@ -76,6 +76,7 @@ discard block |
||
76 | 76 | * @param string $slug The slug of the class to deregister. |
77 | 77 | * @param string[] $parent_slugs The slug(s) of the class's parent(s) in the |
78 | 78 | * hierarchy. |
79 | + * @return void |
|
79 | 80 | */ |
80 | 81 | public function deregister( $slug, array $parent_slugs = array() ); |
81 | 82 | |
@@ -85,6 +86,7 @@ discard block |
||
85 | 86 | * @since 2.2.0 |
86 | 87 | * |
87 | 88 | * @param string[] $parent_slugs The hierarchy of the parent. |
89 | + * @return void |
|
88 | 90 | */ |
89 | 91 | public function deregister_children( array $parent_slugs = array() ); |
90 | 92 |
@@ -71,6 +71,7 @@ |
||
71 | 71 | * @since 2.1.0 |
72 | 72 | * |
73 | 73 | * @param string $slug The slug of the class to deregister. |
74 | + * @return void |
|
74 | 75 | */ |
75 | 76 | public function deregister( $slug ); |
76 | 77 |