MilestonesController   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A indexAction() 0 8 1
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 MilestonesController extends Controller
18
{
19
    public function indexAction()
20
    {
21
        $milestones = [];
22
23
        return View::make('dashboard.milestones.index')
24
            ->withPageTitle(trans('dashboard.milestones.milestones'))
25
            ->withMilestones($milestones);
26
    }
27
}
28