Completed
Push — master ( 975c17...8f2777 )
by Adam
04:20 queued 01:49
created

Variadic::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 1
1
<?php
2
3
namespace BestServedCold\PhalueObjects;
4
5
/**
6
 * Class Variadic
7
 *
8
 * @package BestServedCold\PhalueObjects\ValueObject
9
 */
10
class Variadic extends ArrayVO
11
{
12
    /**
13
     * Variadic constructor.
14
     *
15
     * @param array ...$arguments
16
     */
0 ignored issues
show
Documentation introduced by
Consider making the type for parameter $arguments a bit more specific; maybe use array[].
Loading history...
17 33
    public function __construct(...$arguments)
18
    {
19 33
        parent::__construct($arguments);
20 33
    }
21
}
22