Completed
Pull Request — master (#274)
by Christophe
05:13
created

WithVariadicArgument   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 2
c 0
b 0
f 0
lcom 0
cbo 0
dl 0
loc 10
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A methodWithArgs() 0 3 1
A methodWithTypeHintedArgs() 0 3 1
1
<?php
2
3
namespace Fixtures\Prophecy;
4
5
class WithVariadicArgument
6
{
7
    function methodWithArgs(...$args)
8
    {
9
    }
10
11
    function methodWithTypeHintedArgs(array ...$args)
12
    {
13
    }
14
}
15