Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 3 |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types = 1); |
||
42 | 10 | protected function resolveMethodAnnotations(\ReflectionMethod $method, MethodMetadata $methodMetadata) |
|
43 | { |
||
44 | /** @var MethodConfiguratorInterface $annotation */ |
||
45 | 10 | foreach ($this->reader->getMethodAnnotations($method) as $annotation) { |
|
46 | 10 | if ($annotation instanceof MethodConfiguratorInterface) { |
|
47 | 10 | $annotation->toMethodMetadata($methodMetadata); |
|
48 | } |
||
49 | } |
||
50 | 10 | } |
|
51 | } |
||
52 |