Test Failed
Push — master ( bc18b2...889641 )
by Chris
15:33
created

FormRepositoryProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 3 1
1
<?php
2
3
namespace Leonidas\Framework\Provider;
4
5
use Leonidas\Library\Core\Http\Form\FormRepository;
6
use Panamax\Contracts\ServiceFactoryInterface;
7
use Panamax\Factories\AbstractServiceFactory;
8
use Psr\Container\ContainerInterface;
9
10
class FormRepositoryProvider extends AbstractServiceFactory implements ServiceFactoryInterface
11
{
12
    public function create(ContainerInterface $container, array $args = []): FormRepository
13
    {
14
        return new FormRepository();
15
    }
16
}
17