| @@ -21,9 +21,9 @@ | ||
| 21 | 21 | * Return the report title |
| 22 | 22 | * |
| 23 | 23 | * @return string |
| 24 | 24 | */ |
| 25 | - public function get_title() : string { | |
| 25 | + public function get_title(): string { | |
| 26 | 26 | return __( 'WordPress', 'elasticpress' ); |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |
| @@ -30,9 +30,9 @@ | ||
| 30 | 30 | * Return the report fields |
| 31 | 31 | * |
| 32 | 32 | * @return array |
| 33 | 33 | */ |
| 34 | - public function get_groups() : array { | |
| 34 | + public function get_groups(): array { | |
| 35 | 35 | return [ |
| 36 | 36 | $this->get_wp_basic_group(), |
| 37 | 37 | $this->get_server_group(), |
| 38 | 38 | ]; |
| @@ -42,9 +42,9 @@ | ||
| 42 | 42 | * Process basic WordPress info |
| 43 | 43 | * |
| 44 | 44 | * @return array |
| 45 | 45 | */ |
| 46 | - protected function get_wp_basic_group() : array { | |
| 46 | + protected function get_wp_basic_group(): array { | |
| 47 | 47 | global $wp_version; |
| 48 | 48 | |
| 49 | 49 | $fields = []; |
| 50 | 50 | |
| @@ -117,9 +117,9 @@ | ||
| 117 | 117 | * Process the info about the server |
| 118 | 118 | * |
| 119 | 119 | * @return array |
| 120 | 120 | */ |
| 121 | - protected function get_server_group() : array { | |
| 121 | + protected function get_server_group(): array { | |
| 122 | 122 | $fields = []; |
| 123 | 123 | |
| 124 | 124 | $fields['php_version'] = [ |
| 125 | 125 | 'label' => __( 'PHP Version', 'elasticpress' ), |