Passed
Push — master ( b831b6...96f132 )
by John
06:04 queued 21s
created

TermController::user()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
cc 1
eloc 4
nc 1
nop 1
dl 0
loc 6
rs 10
c 1
b 0
f 1
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use App\Models\ProblemModel;
6
use App\Models\Submission\SubmissionModel;
7
use App\Models\CompilerModel;
8
use App\Models\AccountModel;
9
use App\Http\Controllers\Controller;
10
use Illuminate\Http\Request;
11
use JavaScript;
12
use Auth;
13
14
class TermController extends Controller
15
{
16
    public function user(Request $request)
0 ignored issues
show
Unused Code introduced by
The parameter $request is not used and could be removed. ( Ignorable by Annotation )

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

16
    public function user(/** @scrutinizer ignore-unused */ Request $request)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
17
    {
18
        return view('term.user', [
19
            'page_title' => "Terms ans Conditions",
20
            'site_title' => config("app.name"),
21
            'navigation' => "Term"
22
        ]);
23
    }
24
}
25