transformer_refactoring #44

Merged
linos merged 42 commits from transformer_refactoring into main 2024-10-02 19:15:29 +02:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 5fa3876c1a - Show all commits

View file

@ -176,7 +176,7 @@ abstract class Event extends Post {
/**
* 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 ) {
if ( is_null( $time ) ) {

View file

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