Conditions | 3 |
Paths | 4 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
29 | public function offsetSet($offset, $value): void |
||
30 | { |
||
31 | if (!is_string($offset)) { |
||
32 | $this->throw($offset, 'string', __METHOD__, 0); |
||
33 | } |
||
34 | if (!$value instanceof TypeArgument) { |
||
35 | $this->throw($value, TypeArgument::class, __METHOD__, 1); |
||
36 | } |
||
37 | parent::offsetSet($offset, $value); |
||
38 | } |
||
51 |