Passed
Push — master ( b55be9...f6f22e )
by Christopher
01:29
created

byte   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: Barnso
5
 * Date: 28/06/2017
6
 * Time: 5:11 PM
7
 */
8
9
namespace AlgoWeb\xsdTypes;
10
11
12
class byte extends short
13
{
14
    public function __construct($value)
15
    {
16
        parent::__construct($value);
17
        $this->minInclusive = -128;
18
        $this->maxInclusive = 127;
19
    }
20
}