phpsniffer happy
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 33s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m0s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m3s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 1m1s

This commit is contained in:
ruru4143 2024-09-29 15:31:07 +02:00
parent 24844f57c1
commit 993fc2b24f
2 changed files with 4 additions and 2 deletions

View file

@ -174,7 +174,9 @@ abstract class Event extends Post {
} }
/** /**
* Compose a human readable formatted time from the parameter $time. * Compose a human readable formatted time.
*
* @param ?string $time The time which needs to be formatted
*/ */
private static function format_time( $time ) { private static function format_time( $time ) {
if ( is_null( $time ) ) { if ( is_null( $time ) ) {