ClassWithMethodWithByRefVariadicFunction   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A tuz() 0 6 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ProxyManagerTestAsset;
6
7
/**
8
 * Test asset class with method with by-ref variadic parameter
9
 *
10
 * @author Jefersson Nathan <[email protected]>
11
 * @license MIT
12
 */
13
class ClassWithMethodWithByRefVariadicFunction
14
{
15
    /**
16
     * @param array<int, mixed> $fooz
17
     *
18
     * @return array<int, mixed>
0 ignored issues
show
Documentation introduced by
The doc-type array<int, could not be parsed: Expected ">" at position 5, but found "end of type". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
19
     */
20
    public function tuz(& ...$fooz)
21
    {
22
        $fooz[1] = 'changed';
23
24
        return $fooz;
25
    }
26
}
27