Skip to content

Commit

Permalink
Update src from PHP Codesniffer
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions committed Jan 16, 2024
1 parent 76ef5b4 commit a989d0b
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions src/Service/GitlabApiService.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,10 +155,10 @@ public function setConfiguration(array $configuration): void
/**
* Get the given gitlab repository from the /api/v4/search endpoint.
*
* @param Source $source The source to sync from.
* @param ObjectEntity $repository The repository object.
* @param array $repositoryArray The repository array.
* @param array $tree The tree of the repository.
* @param Source $source The source to sync from.
* @param ObjectEntity $repository The repository object.
* @param array $repositoryArray The repository array.
* @param array $tree The tree of the repository.
*
* @return ObjectEntity|null The updated repositories with the opencatalogi and publiccode file
*/
Expand Down Expand Up @@ -236,9 +236,9 @@ public function importRepoFiles(Source $source, ObjectEntity $repository, array
/**
* Get the given gitlab repository from the /api/v4/search endpoint.
*
* @param Source $source The source to sync from.
* @param array $repositoryArray The repository array.
* @param array $directory The directory where the file is located.
* @param Source $source The source to sync from.
* @param array $repositoryArray The repository array.
* @param array $directory The directory where the file is located.
*
* @return array|null The file content.
*/
Expand Down Expand Up @@ -270,8 +270,8 @@ public function getTheFileContent(Source $source, array $repositoryArray, array
/**
* Get the tree of the repository. /projects/{organization}/{repository}
*
* @param Source $source The source to sync from.
* @param array $repositoryArray The repository array.
* @param Source $source The source to sync from.
* @param array $repositoryArray The repository array.
* @return array|null The tree of the repository.
*/
Expand All @@ -296,7 +296,7 @@ public function getRepoTreeFromGitlabApi(Source $source, array $repositoryArray)
/**
* Get the given gitlab repository from the /api/v4/projects/{path} endpoint.
*
* @param Source $source The source to sync from.
* @param Source $source The source to sync from.
* @param string $repositoryUrl The repository url.
*
* @return array|null The repository from gitlab.
Expand Down Expand Up @@ -325,6 +325,7 @@ public function getGitlabRepoFromSource(Source $source, string $repositoryUrl):

}//end getGitlabRepoFromSource()


/**
* This function does a cleanup for the repository.
*
Expand Down Expand Up @@ -354,6 +355,7 @@ public function cleanupRepository(ObjectEntity $repository): ?ObjectEntity

}//end cleanupRepository()


/**
* This function enriches the repository with an organization.
*
Expand Down

0 comments on commit a989d0b

Please sign in to comment.