Passed
Push — main ( b1fbff...0e72dc )
by Johny
02:35
created

FooProvider   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 4
dl 0
loc 15
c 0
b 0
f 0
rs 10
1
<?php
2
3
declare(strict_types=1);
4
5
namespace DummyGenerator\Test\Fixtures;
6
7
use DummyGenerator\Definitions\Extension\ExtensionInterface;
8
9
final class FooProvider implements ExtensionInterface
10
{
11
    public function foo(): string
12
    {
13
        return 'foobar';
14
    }
15
16
    public function fooManChu(string $value = ''): string
17
    {
18
        return 'baz' . $value;
19
    }
20
21
    public function bar(): string
22
    {
23
        return 'foo';
24
    }
25
}
26