diff --git a/src/Controller/NetworkController.php b/src/Controller/NetworkController.php index 4f47594..95f51ce 100644 --- a/src/Controller/NetworkController.php +++ b/src/Controller/NetworkController.php @@ -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) { diff --git a/src/Git/Repository.php b/src/Git/Repository.php index f6e179d..d6b5830 100644 --- a/src/Git/Repository.php +++ b/src/Git/Repository.php @@ -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 */