made format_time() private

This commit is contained in:
ruru4143 2024-09-29 11:44:47 +02:00
parent 39632560ff
commit c469b7a00e

View file

@ -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 '';
}