Completed
Push — master ( 27ed2b...a6fcc7 )
by Quim González
06:38
created

TasksTimelineController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 5 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use App\TaskEvent;
6
use Illuminate\Http\Request;
7
use Illuminate\Support\Facades\Auth;
8
use stdClass;
9
10
class TasksTimelineController extends Controller
11
{
12
13
14
    public function index(){
15
16
        $tasks_events = TaskEvent::all();
17
18
            return view('timeline', ['task_events'=> $tasks_events]);
19
20
    }
21
}
22