Failed Conditions
Push — annotation-metadata ( 414255 )
by Michael
02:42
created

DefaultReflectionProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 6
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getClassReflection() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\Annotations\Metadata\Reflection;
6
7
use ReflectionClass;
8
9
final class DefaultReflectionProvider implements ClassReflectionProvider
10
{
11
    public function getClassReflection(string $name) : ReflectionClass
12
    {
13
        // TODO: catch exception
14
        return new ReflectionClass($name);
15
    }
16
}
17