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

TermController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A user() 0 6 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