Test Failed
Pull Request — master (#2029)
by
unknown
04:38
created
includes/payments/class-give-payment.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -369,7 +369,7 @@  discard block
 block discarded – undo
369 369
 	 *
370 370
 	 * @param  int|bool $payment_id A given payment
371 371
 	 *
372
-	 * @return mixed void|false
372
+	 * @return false|null void|false
373 373
 	 */
374 374
 	public function __construct( $payment_id = false ) {
375 375
 
@@ -1088,7 +1088,7 @@  discard block
 block discarded – undo
1088 1088
 	 *
1089 1089
 	 * @param  string $note The note to add
1090 1090
 	 *
1091
-	 * @return bool           If the note was specified or not
1091
+	 * @return false|null           If the note was specified or not
1092 1092
 	 */
1093 1093
 	public function add_note( $note = false ) {
1094 1094
 		// Bail if no note specified.
Please login to merge, or discard this patch.