fixed wrong nullable type declaration
This commit is contained in:
parent
c469b7a00e
commit
516bfd33d8
1 changed files with 2 additions and 2 deletions
|
@ -162,14 +162,14 @@ abstract class Event extends Post {
|
|||
/**
|
||||
* 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() );
|
||||
}
|
||||
|
||||
/**
|
||||
* 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() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue