From c469b7a00ea2ce67d0256b25ed390ccfa3df2c8c Mon Sep 17 00:00:00 2001 From: ruru4143 Date: Sun, 29 Sep 2024 11:44:47 +0200 Subject: [PATCH] made format_time() private --- includes/activitypub/transformer/class-event.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/activitypub/transformer/class-event.php b/includes/activitypub/transformer/class-event.php index 1d86ad7..8a1526a 100644 --- a/includes/activitypub/transformer/class-event.php +++ b/includes/activitypub/transformer/class-event.php @@ -173,7 +173,7 @@ abstract class Event extends Post { return $this->format_time( $this->get_end_time() ); } - static protected function format_time( $time ) { + static private function format_time( $time ) { if ( is_null( $time ) ) { return ''; }