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

SomeServiceWithOptionalConstructorArguments   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 12
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
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