fixed wrong nullable type declaration

This commit is contained in:
ruru4143 2024-09-29 11:45:17 +02:00
parent c469b7a00e
commit 516bfd33d8

View file

@ -162,14 +162,14 @@ abstract class Event extends Post {
/** /**
* Compose a human readable formatted start time. * Compose a human readable formatted start time.
*/ */
protected function format_start_time(): ?string { protected function format_start_time(): string {
return $this->format_time( $this->get_start_time() ); return $this->format_time( $this->get_start_time() );
} }
/** /**
* Compose a human readable formatted end time. * Compose a human readable formatted end time.
*/ */
protected function format_end_time(): ?string { protected function format_end_time(): string {
return $this->format_time( $this->get_end_time() ); return $this->format_time( $this->get_end_time() );
} }