diff --git a/README.md b/README.md index dd240ce..78df0cc 100644 --- a/README.md +++ b/README.md @@ -250,7 +250,6 @@ namespace VDM\Joomla\Gitea #DarkCyan { + heatmap() : ?array + keys() : ?array + repos() : ?array - + repos() : ?array + watched() : ?array } } diff --git a/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md b/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md index 395489e..e572523 100644 --- a/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md +++ b/src/4a5694db-bf3c-439b-bf9c-36a487828787/README.md @@ -21,7 +21,6 @@ class User #Gold { + heatmap(string $username) : ?array + keys(string $userName, ?string $fingerprint = null, ...) : ?array + repos(string $userName, int $page = 1, ...) : ?array - + repos(string $userName, int $page = 1, ...) : ?array + watched(string $userName, int $page = 1, ...) : ?array } @@ -120,15 +119,6 @@ note left of User::repos since: 3.2.0 return: ?array - arguments: - string $userName - int $page = 1 - int $limit = 10 - List the repos that the given user has starred. - - since: 3.2.0 - return: ?array - arguments: string $userName int $page = 1 diff --git a/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.php b/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.php index 33579e5..bb9c82e 100644 --- a/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.php +++ b/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.php @@ -301,36 +301,6 @@ class User extends Api ); } - /** - * List the repos that the given user has starred. - * - * @param string $userName The username of the user to retrieve starred repos for. - * @param int $page The page number of results to return (1-based). - * @param int $limit The page size of results. - * - * @return array|null - * @since 3.2.0 - **/ - public function repos( - string $userName, - int $page = 1, - int $limit = 10 - ): ?array - { - // Build the request path. - $path = "/users/{$userName}/starred"; - - // Build the URI with query parameters. - $uri = $this->uri->get($path); - $uri->setVar('page', $page); - $uri->setVar('limit', $limit); - - // Send the get request. - return $this->response->get( - $this->http->get($uri) - ); - } - /** * List the repositories watched by a user. * diff --git a/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.power b/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.power index ad1c063..fcdef75 100644 --- a/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.power +++ b/src/4a5694db-bf3c-439b-bf9c-36a487828787/code.power @@ -277,36 +277,6 @@ ); } - /** - * List the repos that the given user has starred. - * - * @param string $userName The username of the user to retrieve starred repos for. - * @param int $page The page number of results to return (1-based). - * @param int $limit The page size of results. - * - * @return array|null - * @since 3.2.0 - **/ - public function repos( - string $userName, - int $page = 1, - int $limit = 10 - ): ?array - { - // Build the request path. - $path = "/users/{$userName}/starred"; - - // Build the URI with query parameters. - $uri = $this->uri->get($path); - $uri->setVar('page', $page); - $uri->setVar('limit', $limit); - - // Send the get request. - return $this->response->get( - $this->http->get($uri) - ); - } - /** * List the repositories watched by a user. *