Test Failed
Push — master ( b6687a...d5e75a )
by Julien
06:32
created

TreeGenError   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
3
namespace Xoco70\LaravelTournaments\TreeGen;
4
5
class TreeGenError
6
{
7
    protected $status;
8
    protected $error;
9
10
    /**
11
     * TreeGenError constructor.
12
     *
13
     * @param $status
14
     * @param $error
15
     */
16
    public function __construct($status, $error)
17
    {
18
        $this->status = $status;
19
        $this->error = $error;
20
    }
21
}
22