SavegameController   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A show() 0 3 1
A create() 0 3 1
1
<?php
2
3
/*
4
 * rmarchiv.tk
5
 * (c) 2016-2017 by Marcel 'ryg' Hering
6
 */
7
8
namespace App\Http\Controllers\Api\v1;
9
10
use App\Http\Controllers\Controller;
11
12
class SavegameController extends Controller
13
{
14
    public function show($gamfileid)
0 ignored issues
show
Unused Code introduced by
The parameter $gamfileid is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
15
    {
16
    }
17
18
    public function create($gamefileid, $slotid)
0 ignored issues
show
Unused Code introduced by
The parameter $gamefileid is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
Unused Code introduced by
The parameter $slotid is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
19
    {
20
    }
21
}
22