added comment on bloguser
Some checks failed
Some checks failed
This commit is contained in:
parent
993fc2b24f
commit
5fa3876c1a
2 changed files with 2 additions and 2 deletions
|
@ -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 ) ) {
|
||||||
|
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue