| Total Complexity | 3 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class MethodDocCreatedListener |
||
| 12 | { |
||
| 13 | /** ConstraintToParamsDocTransformer */ |
||
| 14 | private $paramDocConverter; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @param ConstraintToParamsDocTransformer $paramDocConverter |
||
| 18 | */ |
||
| 19 | 3 | public function __construct(ConstraintToParamsDocTransformer $paramDocConverter) |
|
| 20 | { |
||
| 21 | 3 | $this->paramDocConverter = $paramDocConverter; |
|
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param MethodDocCreatedEvent $event |
||
| 26 | * |
||
| 27 | * @throws \ReflectionException |
||
| 28 | */ |
||
| 29 | 3 | public function enhanceMethodDoc(MethodDocCreatedEvent $event) |
|
| 40 | } |
||
| 41 | } |
||
| 43 |