Failed Conditions
Pull Request — new-parser-ast-metadata (#3)
by
unknown
02:22
created

AnnotationWithConstructorMetadata::get()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Tests\Annotations\Fixtures\Metadata;
6
7
use Doctrine\Annotations\Metadata\AnnotationMetadata;
8
use Doctrine\Annotations\Metadata\AnnotationTarget;
9
use Doctrine\Tests\Annotations\Fixtures\AnnotationWithConstructor;
10
11
final class AnnotationWithConstructorMetadata
12
{
13
    public static function get(): AnnotationMetadata
14
    {
15
        return new AnnotationMetadata(
16
            AnnotationWithConstructor::class,
17
            new AnnotationTarget(AnnotationTarget::TARGET_ALL),
18
            true,
19
            []
20
        );
21
    }
22
}
23