added comment on bloguser
Some checks failed
PHP Code Checker / PHP Code Checker (pull_request) Failing after 37s
PHPUnit / PHPUnit – PHP 8.1 (pull_request) Successful in 1m4s
PHPUnit / PHPUnit – PHP 8.2 (pull_request) Successful in 1m1s
PHPUnit / PHPUnit – PHP 8.3 (pull_request) Successful in 58s

This commit is contained in:
ruru4143 2024-09-29 15:32:50 +02:00
parent 993fc2b24f
commit 5fa3876c1a
2 changed files with 2 additions and 2 deletions

View file

@ -176,7 +176,7 @@ abstract class Event extends Post {
/** /**
* Compose a human readable formatted time. * Compose a human readable formatted time.
* *
* @param ?string $time The time which needs to be formatted * @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 ) ) {

View file

@ -125,7 +125,7 @@ final class GatherPress extends Event {
* @return string The User-URL. * @return string The User-URL.
*/ */
protected function get_attributed_to(): string { protected function get_attributed_to(): string {
$user = new Blog(); $user = new Blog(); // todo is this correct? feels not right.
return $user->get_url(); return $user->get_url();
} }