Code style fixes.

This commit is contained in:
Dmitry Khomutov 2017-11-05 21:48:36 +07:00
commit 4e68eb7180
No known key found for this signature in database
GPG key ID: EC19426474B37AAC
89 changed files with 942 additions and 251 deletions

View file

@ -119,7 +119,7 @@ class BuildStatusController extends Controller
* Returns the appropriate build status image in SVG format for a given project.
*
* @param $projectId
*
*
* @return b8\Http\Response|b8\Http\Response\RedirectResponse
*/
public function image($projectId)
@ -175,11 +175,11 @@ class BuildStatusController extends Controller
/**
* View the public status page of a given project, if enabled.
*
*
* @param integer $projectId
*
*
* @return string
*
*
* @throws \b8\Exception\HttpException\NotFoundException
*/
public function view($projectId)

View file

@ -76,7 +76,7 @@ class ProjectController extends PHPCensor\Controller
/**
* View a specific project.
*
*
* @param integer $projectId
*
* @throws NotFoundException
@ -163,7 +163,7 @@ class ProjectController extends PHPCensor\Controller
/**
* Create a new pending build for a project.
*
*
* @param integer $projectId
*
* @throws NotFoundException

View file

@ -267,7 +267,7 @@ class WebhookController extends Controller
* Called by POSTing to /webhook/git/<project_id>?branch=<branch>&commit=<commit>
*
* @param string $projectId
*
*
* @return array
*/
public function git($projectId)
@ -377,12 +377,12 @@ class WebhookController extends Controller
/**
* Handle the payload when Github sends a Pull Request webhook.
*
*
* @param Project $project
* @param array $payload
*
*
* @return array
*
*
* @throws Exception
*/
protected function githubPullRequest(Project $project, array $payload)
@ -512,9 +512,9 @@ class WebhookController extends Controller
* Called by POSTing to /webhook/svn/<project_id>?branch=<branch>&commit=<commit>
*
* @author Sylvain Lévesque <slevesque@gezere.com>
*
*
* @param string $projectId
*
*
* @return array
*/
public function svn($projectId)
@ -530,9 +530,9 @@ class WebhookController extends Controller
/**
* Called by Gogs Webhooks:
*
*
* @param string $projectId
*
*
* @return array
*/
public function gogs($projectId)