Passed
Pull Request — main (#320)
by Chema
08:31 queued 04:51
created

Provider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A provideModuleDependencies() 0 2 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GacelaTest\Feature\Framework\BindingsInsideProvider\Module;
6
7
use Gacela\Framework\AbstractProvider;
8
use Gacela\Framework\Container\Container;
9
use GacelaTest\Feature\Framework\BindingsInsideProvider\Module\Domain\Greeter\CompanyGenerator;
10
use GacelaTest\Feature\Framework\BindingsInsideProvider\Module\Domain\GreeterGeneratorInterface;
11
12
final class Provider extends AbstractProvider
13
{
14
    /** @var array<class-string,class-string> */
0 ignored issues
show
Documentation Bug introduced by
The doc comment array<class-string,class-string> at position 2 could not be parsed: Unknown type name 'class-string' at position 2 in array<class-string,class-string>.
Loading history...
15
    public array $bindings = [
16
        GreeterGeneratorInterface::class => CompanyGenerator::class,
17
    ];
18
19
    public function provideModuleDependencies(Container $container): void
20
    {
21
    }
22
}
23