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

ApplicationTimelineController::show()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 5
rs 10
cc 1
nc 1
nop 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