Conditions | 3 |
Paths | 3 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 3 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
35 | 1 | public function getAnnotation(string $name, string|object $class, string $method = null): mixed |
|
36 | { |
||
37 | 1 | foreach ($this->engines as $engine) { |
|
38 | 1 | $value = $engine->getAnnotation($name, $class, $method); |
|
39 | 1 | if ($value !== null) { |
|
40 | 1 | return $value; |
|
41 | } |
||
42 | } |
||
43 | 1 | return null; |
|
44 | } |
||
46 |