| @@ -21,9 +21,9 @@ | ||
| 21 | 21 | public function get_name(): string { |
| 22 | 22 | return 'oauth'; |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | - public static function routes_list() : array { | |
| 25 | + public static function routes_list(): array { | |
| 26 | 26 | return [ |
| 27 | 27 | 'Connect_Init', |
| 28 | 28 | 'Disconnect', |
| 29 | 29 | 'Get_Subscriptions', |
| @@ -32,9 +32,9 @@ | ||
| 32 | 32 | 'Version', |
| 33 | 33 | ]; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | - public static function component_list() : array { | |
| 36 | + public static function component_list(): array { | |
| 37 | 37 | return [ |
| 38 | 38 | 'Connect', |
| 39 | 39 | 'Checkpoint', |
| 40 | 40 | 'Connect_Pointer', |
| @@ -40,9 +40,9 @@ | ||
| 40 | 40 | 'Connect_Pointer', |
| 41 | 41 | ]; |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | - public static function is_active() : bool { | |
| 44 | + public static function is_active(): bool { | |
| 45 | 45 | return ! empty( get_option( 'image_optimizer_client_data' ) ); |
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | public function __construct() { |