| @@ -21,9 +21,9 @@ | ||
| 21 | 21 | * Return the report title |
| 22 | 22 | * |
| 23 | 23 | * @return string |
| 24 | 24 | */ |
| 25 | - abstract public function get_title() : string; | |
| 25 | + abstract public function get_title(): string; | |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | 28 | * Return the report group(s) of fields |
| 29 | 29 | * |
| @@ -28,9 +28,9 @@ | ||
| 28 | 28 | * Return the report group(s) of fields |
| 29 | 29 | * |
| 30 | 30 | * @return array |
| 31 | 31 | */ |
| 32 | - abstract public function get_groups() : array; | |
| 32 | + abstract public function get_groups(): array; | |
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * Return any actions related to the report, like a button |
| 36 | 36 | * |
| @@ -35,8 +35,18 @@ | ||
| 35 | 35 | * Return any actions related to the report, like a button |
| 36 | 36 | * |
| 37 | 37 | * @return string |
| 38 | 38 | */ |
| 39 | - public function get_actions() : array { | |
| 39 | + public function get_actions(): array { | |
| 40 | + return []; | |
| 41 | + } | |
| 42 | + | |
| 43 | + /** | |
| 44 | + * Return the report messages. | |
| 45 | + * | |
| 46 | + * @return array | |
| 47 | + * @since 4.5.0 | |
| 48 | + */ | |
| 49 | + public function get_messages(): array { | |
| 40 | 50 | return []; |
| 41 | 51 | } |
| 42 | 52 | } |