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

MutableVector   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A set() 0 5 1
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