| @@ 114-123 (lines=10) @@ | ||
| 111 | * |
|
| 112 | * @return void |
|
| 113 | */ |
|
| 114 | public function offsetSet($offset, $value){ |
|
| 115 | ||
| 116 | if(is_null($offset)){ |
|
| 117 | $this->array[] = new DBResultRow($value); |
|
| 118 | } |
|
| 119 | else{ |
|
| 120 | $this->array[$offset] = new DBResultRow($value); |
|
| 121 | } |
|
| 122 | ||
| 123 | } |
|
| 124 | ||
| 125 | /** |
|
| 126 | * @param int|string $offset |
|
| @@ 60-69 (lines=10) @@ | ||
| 57 | * |
|
| 58 | * @return void |
|
| 59 | */ |
|
| 60 | public function offsetSet($offset, $value){ |
|
| 61 | ||
| 62 | if(is_null($offset)){ |
|
| 63 | $this->array[] = $value; // @codeCoverageIgnore |
|
| 64 | } |
|
| 65 | else{ |
|
| 66 | $this->array[$offset] = $value; |
|
| 67 | } |
|
| 68 | ||
| 69 | } |
|
| 70 | ||
| 71 | } |
|
| 72 | ||