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

Vector::removeKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Oqq\Minc\Common\Collection;
4
5
/**
6
 * @author Eric Braun <[email protected]>
7
 */
8
class Vector extends AbstractCollection
9
{
10
    /**
11
     * @param array ...$values
12
     */
13
    public function __construct(...$values)
14
    {
15
        parent::__construct($values);
16
    }
17
18
    /**
19
     */
20
    protected function resetKeys()
21
    {
22
        $this->values = array_values($this->values);
23
    }
24
}
25