GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 8bf793...f49fde )
by Shaxzodbek
01:23
created

ProjectController   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 80
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 0
dl 0
loc 80
rs 10
c 0
b 0
f 0

7 Methods

Rating   Name   Duplication   Size   Complexity  
A index() 0 5 1
A create() 0 4 1
A store() 0 4 1
A show() 0 4 1
A edit() 0 4 1
A update() 0 4 1
A destroy() 0 4 1
1
<?php
2
3
namespace Goodoneuz\PayUz\Http\Controllers;
4
5
use Illuminate\Http\Request;
6
use Goodoneuz\PayUz\Models\Project;
7
use App\Http\Controllers\Controller;
8
9
class ProjectController extends Controller
10
{
11
    
12
    /**
13
     * Display a listing of the resource.
14
     *
15
     * @return \Illuminate\Http\Response
16
     */
17
    public function index()
18
    {
19
        $projects = Project::latest()->get();
20
        return view('pay-uz::projects.index',compact('projects'));
21
    }
22
23
    /**
24
     * Show the form for creating a new resource.
25
     *
26
     * @return \Illuminate\Http\Response
27
     */
28
    public function create()
29
    {
30
        //
31
    }
32
33
    /**
34
     * Store a newly created resource in storage.
35
     *
36
     * @param  \Illuminate\Http\Request  $request
37
     * @return \Illuminate\Http\Response
38
     */
39
    public function store(Request $request)
40
    {
41
        //
42
    }
43
44
    /**
45
     * Display the specified resource.
46
     *
47
     * @param  int  $id
48
     * @return \Illuminate\Http\Response
49
     */
50
    public function show($id)
51
    {
52
        //
53
    }
54
55
    /**
56
     * Show the form for editing the specified resource.
57
     *
58
     * @param  int  $id
59
     * @return \Illuminate\Http\Response
60
     */
61
    public function edit($id)
62
    {
63
        //
64
    }
65
66
    /**
67
     * Update the specified resource in storage.
68
     *
69
     * @param  \Illuminate\Http\Request  $request
70
     * @param  int  $id
71
     * @return \Illuminate\Http\Response
72
     */
73
    public function update(Request $request, $id)
74
    {
75
        //
76
    }
77
78
    /**
79
     * Remove the specified resource from storage.
80
     *
81
     * @param  int  $id
82
     * @return \Illuminate\Http\Response
83
     */
84
    public function destroy($id)
85
    {
86
        //
87
    }
88
}
89