Improved docBlock
This commit is contained in:
parent
be651b3576
commit
6aba86e018
|
@ -145,6 +145,10 @@ class ProjectController extends PHPCI\Controller
|
|||
|
||||
/**
|
||||
* Delete a project.
|
||||
*
|
||||
* @param int $projectId
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function delete($projectId)
|
||||
{
|
||||
|
|
|
@ -293,6 +293,12 @@ class UserController extends Controller
|
|||
|
||||
/**
|
||||
* Delete a user.
|
||||
*
|
||||
* @param int $userId
|
||||
*
|
||||
* @return Response
|
||||
*
|
||||
* @throws NotFoundException
|
||||
*/
|
||||
public function delete($userId)
|
||||
{
|
||||
|
@ -308,6 +314,7 @@ class UserController extends Controller
|
|||
|
||||
$response = new b8\Http\Response\RedirectResponse();
|
||||
$response->setHeader('Location', PHPCI_URL . 'user');
|
||||
|
||||
return $response;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue