Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Push — development ( aa3faf...1831fb )
by José
04:34
created

DonorsController::destroy()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 1
nc 1
nop 0
1
<?php
2
3
namespace DoeSangue\Http\Controllers\API;
4
5
use Illuminate\Http\Request;
6
use DoeSangue\Http\Controllers\Controller;
7
use DoeSangue\Models\Donor;
8
9
class DonorsController extends Controller
10
{
11
12
    public function index()
13
    {
14
        $donors = Donor::orderBy('id', 'asc')->get();
15
16
        return response()->json(compact('donors'));
17
    }
18
19
    public function store()
20
    {
21
    }
22
23
    public function update()
24
    {
25
    }
26
27
    public function destroy()
28
    {
29
    }
30
}
31