| Total Complexity | 5 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | final class UnstantiableCollection implements ArrayAccess |
||
| 12 | { |
||
| 13 | private function __construct() |
||
| 14 | { |
||
| 15 | } |
||
| 16 | |||
| 17 | public function offsetExists($offset): bool |
||
| 20 | } |
||
| 21 | |||
| 22 | #[ReturnTypeWillChange] |
||
| 23 | public function offsetGet($offset) |
||
| 24 | { |
||
| 25 | return null; |
||
| 26 | } |
||
| 27 | |||
| 28 | public function offsetSet($offset, $value): void |
||
| 31 | } |
||
| 32 | |||
| 33 | public function offsetUnset($offset): void |
||
| 35 | } |
||
| 36 | } |
||
| 37 |