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.
Completed
Push — master ( 45bcc8...fd9927 )
by Syo
06:17 queued 02:57
created

EventController   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 34
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A topAction() 0 4 1
A connpassAction() 0 9 1
1
<?php
2
3
namespace App\Http\Controllers\Tabbar\Navigation\Contents\It;
4
5
use App\Http\Controllers\Controller;
6
use App\Http\Services\Contents\It\Event\ConnpassEventService;
7
use Illuminate\Http\Request;
8
9
/**
10
 * EventController.
11
 * 
12
 * contentsタブ内で表示するコンテンツとして
13
 * ITのEventのコンテンツを扱う
14
 */
15
class EventController extends Controller
16
{
17
    /**
18
     * Create a new event controller instance.
19
     */
20
    public function __construct()
21
    {
22
    }
23
24
    /**
25
     * topアクション.
26
     *
27
     * @return view contents/it/event_topテンプレート
28
     */
29
    public function topAction()
30
    {
31
        return view('tabbar/navigation/contents/contents_top');
32
    }
33
34
    /**
35
     * connpassアクション.
36
     *
37
     * @return view contents/it/event/connpassテンプレート
38
     */
39
    public function connpassAction(Request $request)
40
    {
41
        $connpassEventEvent = new ConnpassEventService();
42
        $getConnpassOneMonthEvent = $connpassEventEvent->getConnpassApiOneMonthEventJson($request);
43
        return view(
44
            'tabbar/navigation/contents/it/event/connpass',
45
            compact('getConnpassOneMonthEvent')
46
        );
47
    }
48
}
49