Passed
Pull Request — master (#7)
by Alexander
02:41 queued 01:11
created

Invokeable   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 0
Metric Value
wmc 1
eloc 2
c 2
b 1
f 0
dl 0
loc 5
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 3 1
1
<?php
2
3
4
namespace Yiisoft\Injector\Tests\Support;
5
6
class Invokeable
7
{
8
    public function __invoke(): int
9
    {
10
        return 42;
11
    }
12
}
13