Passed
Push — master ( c062f3...83edb5 )
by Aleksandr
02:32
created

RepositoryTrait::makeAttributeRepository()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 1
c 1
b 1
f 0
dl 0
loc 3
ccs 0
cts 2
cp 0
rs 10
cc 1
nc 1
nop 0
crap 2
1
<?php
2
/**
3
 * This file is part of the eav package.
4
 * @author    Aleksandr Drobotik <[email protected]>
5
 * @copyright 2023 Aleksandr Drobotik
6
 * @license   https://opensource.org/license/mit  The MIT License
7
 */
8
declare(strict_types=1);
9
10
namespace Drobotik\Eav\Trait;
11
12
use Drobotik\Eav\Repository\ValueRepository;
13
14
trait RepositoryTrait
15
{
16
    public function makeValueRepository(): ValueRepository
17
    {
18
        return new ValueRepository();
19
    }
20
21
}