| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | 29 | public function __construct($keyType, $valueType, array $values = [], $options = 0) |
|
| 42 | { |
||
| 43 | 29 | $this->options = new Options($options); |
|
| 44 | 29 | $this->keyType = new TypeKeyProperty($keyType, false); |
|
| 45 | 28 | $this->elementType = new TypeProperty($valueType, $this->optionAllowNullMembers()); |
|
| 46 | 28 | $this->putAll($values); |
|
| 47 | 28 | } |
|
| 48 | } |
||
| 49 |