/** * Return all users that have write access and can be assigned to issues. * * @param string $owner The owner name. * @param string $repo The repository name. * * @return array|null * @since 3.2.0 **/ public function get(string $owner, string $repo): ?array { // Build the request path. $path = "/repos/{$owner}/{$repo}/assignees"; // Set the required variables to the URI. $uri = $this->uri->get($path); $uri->setVar('owner', $owner); $uri->setVar('repo', $repo); // Send the get request. return $this->response->get( $this->http->get($uri) ); }