PullRequestsController::indexAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 8
rs 9.4286
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of Gitamin.
5
 *
6
 * Copyright (C) 2015-2016 The Gitamin Team
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace Gitamin\Http\Controllers\Dashboard;
13
14
use Illuminate\Routing\Controller;
15
use Illuminate\Support\Facades\View;
16
17
class PullRequestsController extends Controller
18
{
19
    /**
20
     * Display a listing of the resource.
21
     *
22
     * @return \Illuminate\Http\Response
23
     */
24
    public function indexAction()
25
    {
26
        $pullRequests = [];
27
28
        return View::make('dashboard.pull_requests.index')
29
            ->withPageTitle(trans('dashboard.pull_requests.pull_requests'))
30
            ->withPullRequests($pullRequests);
31
    }
32
}
33