Passed
Push — master ( d6374c...086681 )
by Aleksei
02:35
created

AnnotatedSchemaConveyor::getGenerators()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 12
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 4
CRAP Score 2

Importance

Changes 0
Metric Value
cc 2
eloc 3
nc 2
nop 0
dl 0
loc 12
ccs 4
cts 4
cp 1
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Yii\Cycle\Schema\Conveyor;
6
7
use Spiral\Attributes\AnnotationReader;
8
9
final class AnnotatedSchemaConveyor extends MetadataSchemaConveyor
10
{
11 8
    protected function getMetadataReader(): AnnotationReader
12
    {
13 8
        return new AnnotationReader();
14
    }
15
}
16