| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | public static function mustBePublic(ReflectionMethod $reflectionMethod, string $annotation): self |
||
| 12 | { |
||
| 13 | return new self(sprintf( |
||
| 14 | 'Method %s::%s annotated with annotation %s must be public.', |
||
| 15 | $reflectionMethod->getDeclaringClass()->getName(), |
||
| 16 | $reflectionMethod->getName(), |
||
| 17 | $annotation |
||
| 18 | )); |
||
| 31 |