Passed
Push — dev ( 694021...8b904e )
by Chris
04:42 queued 10s
created

ApplicationTimelineController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A show() 0 5 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use App\Http\Controllers\Controller;
6
use App\Models\JobApplication;
7
8
class ApplicationTimelineController extends Controller
9
{
10
    public function show(JobApplication $jobApplication)
11
    {
12
        return view('applicant/application-timeline-root')
0 ignored issues
show
Bug introduced by
The function view was not found. Maybe you did not declare it correctly or list all dependencies? ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-call  annotation

12
        return /** @scrutinizer ignore-call */ view('applicant/application-timeline-root')
Loading history...
13
            ->with([
14
                'title' => $jobApplication->job_poster->title, // TODO: Check with design what the title should be.
15
            ]);
16
    }
17
}
18