| Total Complexity | 3 |
| Total Lines | 32 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | trait ArrayAccessTrait |
||
| 16 | { |
||
| 17 | /** |
||
| 18 | * Unused part of the ArrayAccess interface |
||
| 19 | * |
||
| 20 | * @param $offset |
||
| 21 | * @param $value |
||
| 22 | * @throws \BadMethodCallException |
||
| 23 | */ |
||
| 24 | public function offsetSet($offset, $value) |
||
| 25 | { |
||
| 26 | throw new BadMethodCallException("not implemented"); |
||
| 27 | } |
||
| 28 | /** |
||
| 29 | * Unused part of the ArrayAccess interface |
||
| 30 | * |
||
| 31 | * @param $offset |
||
| 32 | * @throws \BadMethodCallException |
||
| 33 | */ |
||
| 34 | public function offsetExists($offset) |
||
| 35 | { |
||
| 36 | throw new BadMethodCallException("not implemented"); |
||
| 37 | } |
||
| 38 | /** |
||
| 39 | * Unused part of the ArrayAccess interface |
||
| 40 | * |
||
| 41 | * @param $offset |
||
| 42 | * @throws \BadMethodCallException |
||
| 43 | */ |
||
| 44 | public function offsetUnset($offset) |
||
| 47 | } |
||
| 48 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.