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.

TransactionController   A
last analyzed

Complexity

Total Complexity 7

Size/Duplication

Total Lines 79
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 7
lcom 0
cbo 0
dl 0
loc 79
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
 * Created by PhpStorm.
4
 * User: Azizbek Eshonaliyev
5
 * Date: 2/20/2019
6
 * Time: 8:17 PM
7
 */
8
9
namespace Goodoneuz\PayUz\Http\Controllers;
10
11
use Illuminate\Http\Request;
12
use App\Http\Controllers\Controller;
13
use Goodoneuz\PayUz\Models\Transaction;
14
15
class TransactionController extends Controller
16
{
17
    /**
18
     * Display a listing of the resource.
19
     *
20
     * @return \Illuminate\Http\Response
21
     */
22
    public function index()
23
    {
24
        $transactions = Transaction::latest()->get();
25
        return view('pay-uz::transactions.index',compact('transactions'));
26
    }
27
28
    /**
29
     * Show the form for creating a new resource.
30
     *
31
     * @return \Illuminate\Http\Response
32
     */
33
    public function create()
34
    {
35
        //
36
    }
37
38
    /**
39
     * Store a newly created resource in storage.
40
     *
41
     * @param  \Illuminate\Http\Request  $request
42
     * @return \Illuminate\Http\Response
43
     */
44
    public function store(Request $request)
45
    {
46
        //
47
    }
48
49
    /**
50
     * Display the specified resource.
51
     *
52
     * @param  int  $id
53
     * @return \Illuminate\Http\Response
54
     */
55
    public function show($id)
56
    {
57
        //
58
    }
59
60
    /**
61
     * Show the form for editing the specified resource.
62
     *
63
     * @param  int  $id
64
     * @return \Illuminate\Http\Response
65
     */
66
    public function edit($id)
67
    {
68
        //
69
    }
70
71
    /**
72
     * Update the specified resource in storage.
73
     *
74
     * @param  \Illuminate\Http\Request  $request
75
     * @param  int  $id
76
     * @return \Illuminate\Http\Response
77
     */
78
    public function update(Request $request, $id)
79
    {
80
        //
81
    }
82
83
    /**
84
     * Remove the specified resource from storage.
85
     *
86
     * @param  int  $id
87
     * @return \Illuminate\Http\Response
88
     */
89
    public function destroy($id)
90
    {
91
        //
92
    }
93
}
94