Completed
Push — master ( 25cc22...c3be57 )
by Eric
05:50
created

MutableVector::set()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Oqq\Minc\Common\Collection;
4
5
/**
6
 * Class MutableVector
7
 *
8
 * @author Eric Braun <[email protected]>
9
 */
10
class MutableVector extends AbstractMutableCollection
11
{
12
    /**
13
     * @inheritdoc
14
     */
15
    public function set($key, $value)
16
    {
17
        $this->assertContainsKey($key);
18
        parent::set($key, $value);
19
    }
20
}
21