@@ -71,18 +71,18 @@ public function initializeVariables(string $installationId, string $privateKey,
7171 return ;
7272 }
7373
74- throw new Exception ("accessToken is required for Gitea adapter. " );
74+ throw new Exception ("accessToken is required for this adapter. " );
7575 }
7676
7777 /**
7878 * Generate Access Token
7979 *
80- * Note: This method is required by the Adapter interface but is not used for Gitea .
80+ * Note: This method is required by the Adapter interface but is not used for this adapter .
8181 * Gitea uses OAuth2 tokens that are provided directly via initializeVariables().
8282 */
8383 protected function generateAccessToken (string $ privateKey , string $ appId ): void
8484 {
85- // Not applicable for Gitea - OAuth2 tokens are passed directly
85+ // Not applicable for this adapter - OAuth2 tokens are passed directly
8686 return ;
8787 }
8888
@@ -224,7 +224,7 @@ public function searchRepositories(string $owner, int $page, int $per_page, stri
224224 */
225225 public function getInstallationRepository (string $ repositoryName ): array
226226 {
227- throw new Exception ("getInstallationRepository is not applicable for Gitea - use getRepository() with owner and repo name instead " );
227+ throw new Exception ("getInstallationRepository is not applicable for this adapter - use getRepository() with owner and repo name instead " );
228228 }
229229
230230 public function getRepository (string $ owner , string $ repositoryName ): array
@@ -608,7 +608,7 @@ public function getUser(string $username): array
608608 public function getOwnerName (string $ installationId , ?int $ repositoryId = null ): string
609609 {
610610 if ($ repositoryId === null || $ repositoryId <= 0 ) {
611- throw new Exception ("repositoryId is required for Gitea " );
611+ throw new Exception ("repositoryId is required for this adapter " );
612612 }
613613
614614 $ url = "/repositories/ {$ repositoryId }" ;
0 commit comments