Test Failed
Push — issues/2241 ( b777d2 )
by Ravinder
04:03
created
includes/admin/donors/donor-actions.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  *
22 22
  * @param  array $args The $_POST array being passed
23 23
  *
24
- * @return array|bool $output Response messages
24
+ * @return false|null $output Response messages
25 25
  */
26 26
 function give_edit_donor( $args ) {
27 27
 
@@ -227,7 +227,7 @@  discard block
 block discarded – undo
227 227
  *
228 228
  * @param  array $args The $_POST array being passed.
229 229
  *
230
- * @return int Whether it was a successful deletion.
230
+ * @return false|null Whether it was a successful deletion.
231 231
  */
232 232
 function give_donor_delete( $args ) {
233 233
 
@@ -516,7 +516,7 @@  discard block
 block discarded – undo
516 516
  * Remove an email address to the donor from within the admin and log a donor note and redirect back to the donor interface for feedback.
517 517
  *
518 518
  * @since  1.7
519
- * @return bool|null
519
+ * @return false|null
520 520
  */
521 521
 function give_remove_donor_email() {
522 522
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
@@ -559,7 +559,7 @@  discard block
 block discarded – undo
559 559
  * and redirect back to the donor interface for feedback
560 560
  *
561 561
  * @since  1.7
562
- * @return bool|null
562
+ * @return false|null
563 563
  */
564 564
 function give_set_donor_primary_email() {
565 565
 	if ( empty( $_GET['id'] ) || ! is_numeric( $_GET['id'] ) ) {
Please login to merge, or discard this patch.