Issues (404)

Branch: dev

app/Http/Controllers/JobBuilderController.php (3 issues)

1
<?php
2
3
namespace App\Http\Controllers;
4
5
use Illuminate\Support\Facades\Lang;
6
use Illuminate\Support\Facades\Auth;
7
use App\Http\Controllers\Controller;
8
use App\Models\JobPoster;
9
use Facades\App\Services\WhichPortal;
10
11
class JobBuilderController extends Controller
12
{
13
    /**
14
     * Show the Job Builder mini SPA
15
     * @return \Illuminate\Http\Response
16
     */
17
    public function show()
18
    {
19
        $custom_breadcrumbs = [
20
            'home' => route(WhichPortal::prefixRoute('home')),
0 ignored issues
show
The function route 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

20
            'home' => /** @scrutinizer ignore-call */ route(WhichPortal::prefixRoute('home')),
Loading history...
21
            'jobs' => route(WhichPortal::prefixRoute('jobs.index')),
22
            'builder' => '',
23
        ];
24
25
        return view(
0 ignored issues
show
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

25
        return /** @scrutinizer ignore-call */ view(
Loading history...
26
            'manager/job-builder-root'
27
        )->with([
28
            'title' => Lang::get('manager/job_builder.title'),
29
            'custom_breadcrumbs' => $custom_breadcrumbs
30
        ]);
31
    }
32
33
    public function hrReview(JobPoster $jobPoster)
34
    {
35
        return view('hr_advisor/job_review', [
0 ignored issues
show
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

35
        return /** @scrutinizer ignore-call */ view('hr_advisor/job_review', [
Loading history...
36
            'title' => Lang::get('hr_advisor/job_review.title'),
37
            'job' => $jobPoster
38
        ]);
39
    }
40
}
41