| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 11 | 
| Code Lines | 6 | 
| Lines | 11 | 
| Ratio | 100 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 33 | View Code Duplication | public function offsetSet($offset, $value)  | 
            |
| 34 |     { | 
            ||
| 35 | $this->checkLazyLoad();  | 
            ||
| 36 | |||
| 37 |         if (is_null($offset)) { | 
            ||
| 38 | $this->items[] = $value;  | 
            ||
| 39 |         } else { | 
            ||
| 40 | $this->items[$offset] = $value;  | 
            ||
| 41 | }  | 
            ||
| 42 | |||
| 43 | $this->keys = array_keys($this->items);  | 
            ||
| 44 | }  | 
            ||
| 75 |