Passed
Push — master ( 3c4f3c...a9af98 )
by John
04:03
created

PastebinController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A view() 0 6 1
1
<?php
2
3
namespace App\Http\Controllers\Tool;
4
5
use App\Models\SubmissionModel;
6
use App\Http\Controllers\Controller;
7
use Auth;
8
9
class PastebinController extends Controller
10
{
11
    /**
12
     * Show the Pastebin Detail Page.
13
     *
14
     * @return Response
0 ignored issues
show
Bug introduced by
The type App\Http\Controllers\Tool\Response was not found. Did you mean Response? If so, make sure to prefix the type with \.
Loading history...
15
     */
16
    public function view()
17
    {
18
        return view('tool.pastebin.view', [
0 ignored issues
show
Bug Best Practice introduced by
The expression return view('tool.pasteb...gation' => 'PasteBin')) returns the type Illuminate\View\View which is incompatible with the documented return type App\Http\Controllers\Tool\Response.
Loading history...
19
            'page_title' => "Detail",
20
            'site_title' => "PasteBin",
21
            'navigation' => "PasteBin"
22
        ]);
23
    }
24
}
25