Conditions | 1 |
Paths | 1 |
Total Lines | 15 |
Code Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Tests | 13 |
CRAP Score | 1 |
Changes | 4 | ||
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 | 4 | Ipinfo::COUNTRY => '', |
|
30 | 4 | Ipinfo::HOSTNAME => '', |
|
31 | 4 | Ipinfo::IP => '', |
|
32 | 4 | Ipinfo::LOC => '', |
|
33 | 4 | Ipinfo::ORG => '', |
|
34 | 4 | Ipinfo::PHONE => '', |
|
35 | 4 | Ipinfo::POSTAL => '', |
|
36 | 4 | Ipinfo::REGION => '', |
|
37 | 4 | ), $properties); |
|
38 | 4 | } |
|
39 | |||
122 |