Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 3 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
24 | 4 | public function __construct($properties = array()) |
|
25 | { |
||
26 | //Merge default values |
||
27 | 4 | $this->properties = array_merge(array( |
|
28 | 4 | Ipinfo::CITY => '', |
|
29 | Ipinfo::COUNTRY => '', |
||
30 | Ipinfo::HOSTNAME => '', |
||
31 | Ipinfo::IP => '', |
||
32 | Ipinfo::LOC => '', |
||
33 | Ipinfo::ORG => '', |
||
34 | Ipinfo::PHONE => '', |
||
35 | Ipinfo::POSTAL => '', |
||
36 | Ipinfo::REGION => '', |
||
37 | ), $properties); |
||
38 | 4 | } |
|
39 | |||
122 |