gitea/src/2cc6543d-b8c7-4bb9-8845-bfa.../code.power

19 lines
335 B
Plaintext

/**
* Returns the nodeinfo of the Gitea application.
*
* @return object|null
* @since 3.2.0
**/
public function get(): ?object
{
// Build the request path.
$path = "/nodeinfo";
// Send the get request.
return $this->response->get(
$this->http->get(
$this->uri->get($path)
)
);
}