Total Complexity | 3 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 42.86% |
Changes | 0 |
1 | <?php |
||
9 | class PatchManagerEvent extends Event |
||
10 | { |
||
11 | /** |
||
12 | * @var MatchedPatchOperation |
||
13 | */ |
||
14 | private MatchedPatchOperation $matchedPatchOperation; |
||
1 ignored issue
–
show
|
|||
15 | |||
16 | /** |
||
17 | * @var Patchable |
||
18 | */ |
||
19 | private Patchable $subject; |
||
1 ignored issue
–
show
|
|||
20 | |||
21 | /** |
||
22 | * @param MatchedPatchOperation $matchedPatchOperation |
||
23 | * @param Patchable $subject |
||
24 | */ |
||
25 | 2 | public function __construct(MatchedPatchOperation $matchedPatchOperation, Patchable $subject) |
|
29 | } |
||
30 | |||
31 | /** |
||
32 | * @return MatchedPatchOperation |
||
33 | */ |
||
34 | public function getMatchedPatchOperation(): MatchedPatchOperation |
||
35 | { |
||
36 | return $this->matchedPatchOperation; |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @return Patchable |
||
41 | */ |
||
42 | public function getSubject(): Patchable |
||
45 | } |
||
46 | } |
||
47 |