Passed
Push — feature/job-builder/tasks-redu... ( 5b5e8a...81448b )
by Tristan
14:37
created

JobBuilderController::tasks()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 5
ccs 0
cts 4
cp 0
rs 10
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use Illuminate\Support\Facades\Lang;
6
use App\Http\Controllers\Controller;
7
8
class JobBuilderController extends Controller
9
{
10
    /**
1 ignored issue
show
Coding Style Documentation introduced by
Doc comment for parameter "$jobId" missing
Loading history...
11
     * Show the Job Builder Intro page
12
     * @return \Illuminate\Http\Response
13
     */
14
    public function intro($jobId = null)
15
    {
16
        return view(
17
            'manager/job-builder-intro',
18
            ['title' => Lang::get('manager/job_builder.intro_title'), 'jobId' => $jobId]
19
        );
20
    }
21
22
    /**
1 ignored issue
show
Coding Style Documentation introduced by
Doc comment for parameter "$jobId" missing
Loading history...
23
     * Show the Job Builder Details page
24
     * @return \Illuminate\Http\Response
25
     */
26
    public function details($jobId = null)
27
    {
28
        return view(
29
            'manager/job-builder-details',
30
            ['title' => Lang::get('manager/job_builder.details_title'), 'jobId' => $jobId]
31
        );
32
    }
33
34
    /**
1 ignored issue
show
Coding Style Documentation introduced by
Doc comment for parameter "$jobId" missing
Loading history...
35
     * Show the Job Builder Work Environment page
36
     * @return \Illuminate\Http\Response
37
     */
38
    public function environment($jobId = null)
39
    {
40
        return view(
41
            'manager/job-builder-environment',
42
            ['title' => Lang::get('manager/job_builder.environment_title'), 'jobId' => $jobId]
43
        );
44
    }
45
46
    /**
1 ignored issue
show
Coding Style Documentation introduced by
Doc comment for parameter "$jobId" missing
Loading history...
47
     * Show the Job Builder Impact page
48
     * @return \Illuminate\Http\Response
49
     */
50
    public function impact($jobId = null)
51
    {
52
        return view(
53
            'manager/job-builder-impact',
54
            ['title' => Lang::get('manager/job_builder.impact_title'), 'jobId' => $jobId]
55
        );
56
    }
57
58
    /**
1 ignored issue
show
Coding Style Documentation introduced by
Doc comment for parameter "$jobId" missing
Loading history...
59
     * Show the Job Builder Tasks page
60
     * @return \Illuminate\Http\Response
61
     */
62
    public function tasks($jobId)
63
    {
64
        return view(
65
            'manager/job-builder-tasks',
66
            ['title' => Lang::get('manager/job_builder.tasks_title'), 'jobId' => $jobId]
67
        );
68
    }
69
}
70