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

TreeGenError::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 2
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