[TESTS] Raise App\Util\Common test coverage to 100%

This commit is contained in:
2021-05-02 20:42:25 +00:00
parent 3fab198c04
commit abda73b8e3
2 changed files with 88 additions and 10 deletions

View File

@@ -94,7 +94,7 @@ abstract class Common
return self::ensureLoggedIn()->getNickname();
}
public static function userId(): ?string
public static function userId(): ?int
{
return self::ensureLoggedIn()->getId();
}