Conditions | 3 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
22 | protected static function annotations(array $annotations): array |
||
23 | { |
||
24 | foreach (static::ANNOTATIONS as $annotation => $handler) { |
||
25 | if (isset($annotations[$annotation])) { |
||
26 | continue; |
||
27 | } |
||
28 | |||
29 | $annotations[$annotation] = $handler; |
||
30 | } |
||
31 | |||
32 | return $annotations; |
||
33 | } |
||
34 | } |
||
35 |