@@ -392,7 +392,7 @@ discard block |
||
| 392 | 392 | * |
| 393 | 393 | * @param int|bool $payment_id A given payment |
| 394 | 394 | * |
| 395 | - * @return mixed void|false |
|
| 395 | + * @return false|null void|false |
|
| 396 | 396 | */ |
| 397 | 397 | public function __construct( $payment_id = false ) { |
| 398 | 398 | |
@@ -1106,7 +1106,7 @@ discard block |
||
| 1106 | 1106 | * |
| 1107 | 1107 | * @param string|bool $note The note to add |
| 1108 | 1108 | * |
| 1109 | - * @return bool If the note was specified or not |
|
| 1109 | + * @return false|null If the note was specified or not |
|
| 1110 | 1110 | */ |
| 1111 | 1111 | public function add_note( $note = false ) { |
| 1112 | 1112 | // Bail if no note specified. |