Completed
Branch master (e9e0b4)
by J.D.
03:54
created
src/classes/hook/reaction/store.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/components/points/includes/class-un-installer.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -1073,6 +1073,7 @@
 block discarded – undo
1073 1073
 	 *
1074 1074
 	 * @since 2.1.4
1075 1075
 	 *
1076
+	 * @param string[] $post_types
1076 1077
 	 * @return array The slugs of the events.
1077 1078
 	 */
1078 1079
 	protected function _2_1_4_get_reversal_log_types( $post_types ) {
Please login to merge, or discard this patch.
src/components/points/includes/class-wordpoints-points-hook.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/components/points/includes/class-wordpoints-points-logs-query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
 	 *
264 264
 	 * @param string $arg The query arg whose value to retrieve.
265 265
 	 *
266
-	 * @return mixed|void The query arg's value, or nothing if it isn't set.
266
+	 * @return string The query arg's value, or nothing if it isn't set.
267 267
 	 */
268 268
 	public function get_arg( $arg ) {
269 269
 
Please login to merge, or discard this patch.
src/components/points/includes/hooks/abstracts/post-type.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -421,7 +421,7 @@
 block discarded – undo
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
 	 */
Please login to merge, or discard this patch.
src/components/points/includes/logs.php 1 patch
Doc Comments   +11 added lines, -1 removed lines patch added patch discarded remove patch
@@ -294,7 +294,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/components/points/includes/points.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -363,7 +363,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/components/ranks/includes/class-wordpoints-rank-group.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -402,7 +402,7 @@
 block discarded – undo
402 402
 	 *
403 403
 	 * @param int $rank_id The ID of the rank to get the position of.
404 404
 	 *
405
-	 * @return int|false The rank's position, or false.
405
+	 * @return integer The rank's position, or false.
406 406
 	 */
407 407
 	public function get_rank_position( $rank_id ) {
408 408
 
Please login to merge, or discard this patch.
src/includes/class-un-installer-base.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -697,7 +697,7 @@
 block discarded – undo
697 697
 	 * @since 2.0.0
698 698
 	 *
699 699
 	 * @param string $option The name of the option to set.
700
-	 * @param mixed  $value  The value of the option.
700
+	 * @param string  $value  The value of the option.
701 701
 	 */
702 702
 	private function _set_option( $option, $value = true ) {
703 703
 
Please login to merge, or discard this patch.