PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
← All changes | includes/classes/StatusReport/Report.php +13 -3 4.4.15.3.5 View file →
@@ -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 }