gitea/src/e7c16db5-bb22-421b-8789-180.../code.power

19 lines
348 B
Plaintext

/**
* Get instance's global settings for repositories.
*
* @return object|null
* @since 3.2.0
**/
public function get(): ?object
{
// Build the request path.
$path = "/settings/repository";
// Send the get request.
return $this->response->get(
$this->http->get(
$this->uri->get($path)
)
);
}