GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

AdminPanelController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the CCDNForum ForumBundle
5
 *
6
 * (c) CCDN (c) CodeConsortium <http://www.codeconsortium.com/>
7
 *
8
 * Available on github <http://www.github.com/codeconsortium/>
9
 *
10
 * For the full copyright and license information, please view the LICENSE
11
 * file that was distributed with this source code.
12
 */
13
14
namespace CCDNForum\ForumBundle\Controller;
15
16
/**
17
 *
18
 * @category CCDNForum
19
 * @package  ForumBundle
20
 *
21
 * @author   Reece Fowell <[email protected]>
22
 * @license  http://opensource.org/licenses/MIT MIT
23
 * @version  Release: 2.0
24
 * @link     https://github.com/codeconsortium/CCDNForumForumBundle
25
 *
26
 */
27
class AdminPanelController extends BaseController
28
{
29
    /**
30
     *
31
     * @access public
32
     * @return RenderResponse
0 ignored issues
show
Documentation introduced by
Should the return type not be \Symfony\Component\HttpFoundation\RedirectResponse?

This check compares the return type specified in the @return annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.

Loading history...
33
     */
34
    public function indexAction()
35
    {
36
        return $this->redirectResponse($this->path('ccdn_forum_admin_forum_list'));
37
    }
38
}
39