| Total Complexity | 8 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class Container |
||
| 8 | { |
||
| 9 | protected $container; |
||
| 10 | |||
| 11 | public function get($key, $default = null) |
||
| 12 | { |
||
| 13 | return Arr::get($this->container, $key, $default); |
||
| 14 | } |
||
| 15 | |||
| 16 | public function append($key, $value) |
||
|
|
|||
| 17 | { |
||
| 18 | if (is_null($this->get($key))) { |
||
| 19 | // |
||
| 20 | } |
||
| 21 | } |
||
| 22 | |||
| 23 | public function set($key, $value = null) |
||
| 32 | } |
||
| 33 | |||
| 34 | public function merge(array $array) |
||
| 43 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.