| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php namespace Mbh\Collection; |
||
| 26 | class ImmutableArray extends FixedArray |
||
| 27 | { |
||
| 28 | public function sort(callable $callback = null): SequenceableInterface |
||
| 29 | { |
||
| 30 | throw new RuntimeException('Attempt to mutate immutable ' . __CLASS__ . ' object.'); |
||
| 31 | } |
||
| 32 | |||
| 33 | public function offsetSet($offset, $value) |
||
| 34 | { |
||
| 35 | throw new RuntimeException('Attempt to mutate immutable ' . __CLASS__ . ' object.'); |
||
| 36 | } |
||
| 37 | |||
| 38 | public function offsetUnset($offset) |
||
| 41 | } |
||
| 42 | |||
| 43 | public function clear() |
||
| 46 | } |
||
| 47 | } |
||
| 48 |