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

int   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:09 PM
7
 */
8
9
namespace AlgoWeb\xsdTypes;
10
11
/**
12
 * xsd:int — 32-bit signed integers
13
 * @package AlgoWeb\xsdTypes
14
 */
15
class int extends long
16
{
17
    public function __construct($value)
18
    {
19
        parent::__construct($value);
20
        $this->minInclusive = -2147483648;
21
        $this->maxInclusive = 2147483647;
22
    }
23
}