Completed
Pull Request — master (#5)
by
unknown
11:39
created

__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 3
nc 1
nop 2
1
<?php
2
3
namespace Symplify\DefaultAutowire\Tests\Source;
4
5
class SomeServiceWithOptionalConstructorArguments
6
{
7
    private $someService;
8
    
9
    private $arg;
10
11
    public function __construct(SomeService $someService = null, $arg = null)
12
    {
13
        $this->someService = $someService;
14
        $this->arg = $arg;
15
    }
16
}
17