mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-02-20 21:47:32 +01:00
Merge pull request #802 from DannyvdSluijs/fix-phpdocs
Correct phpdoc annotations.
This commit is contained in:
@@ -16,7 +16,7 @@ class NetworkController implements ControllerProviderInterface
|
||||
$route->get(
|
||||
'{repo}/network/{commitishPath}/{page}.json',
|
||||
function ($repo, $commitishPath, $page) use ($app) {
|
||||
/** @var $repository Repository */
|
||||
/** @var Repository $repository */
|
||||
$repository = $app['git']->getRepositoryFromName($app['git.repos'], $repo);
|
||||
|
||||
if ($commitishPath === null) {
|
||||
|
||||
@@ -13,7 +13,7 @@ class Repository extends BaseRepository
|
||||
/**
|
||||
* Return true if the repo contains this commit.
|
||||
*
|
||||
* @param $commitHash Hash of commit whose existence we want to check
|
||||
* @param string $commitHash Hash of commit whose existence we want to check
|
||||
*
|
||||
* @return bool Whether or not the commit exists in this repo
|
||||
*/
|
||||
@@ -251,7 +251,7 @@ class Repository extends BaseRepository
|
||||
* Show the repository commit log with pagination.
|
||||
*
|
||||
* @param string $file
|
||||
* @param int page
|
||||
* @param int $page
|
||||
*
|
||||
* @return array Commit log
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user