Passed
Push — master ( 7f91b6...72706c )
by John
03:35
created

SystemController::info()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use App\Models\SubmissionModel;
6
use App\Http\Controllers\Controller;
7
use Auth;
8
9
class SystemController extends Controller
10
{
11
    /**
12
     * Show the System Info Page.
13
     *
14
     * @return Response
0 ignored issues
show
Bug introduced by
The type App\Http\Controllers\Response was not found. Did you mean Response? If so, make sure to prefix the type with \.
Loading history...
15
     */
16
    public function info()
17
    {
18
        return view('system.info', [
0 ignored issues
show
Bug Best Practice introduced by
The expression return view('system.info...vigation' => 'System')) returns the type Illuminate\View\View which is incompatible with the documented return type App\Http\Controllers\Response.
Loading history...
19
            'page_title' => "System Info",
20
            'site_title' => "NOJ",
21
            'navigation' => "System"
22
        ]);
23
    }
24
}
25