We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 3 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
10 | final class ExecutorResultEvent extends Event |
||
11 | { |
||
12 | /** @var ExecutionResult */ |
||
13 | private $result; |
||
14 | |||
15 | 103 | /** @var ExecutorArgumentsEvent */ |
|
16 | private $executorArguments; |
||
17 | 103 | ||
18 | 103 | public function __construct(ExecutionResult $result, ExecutorArgumentsEvent $executorArguments) |
|
19 | { |
||
20 | $this->result = $result; |
||
21 | $this->executorArguments = $executorArguments; |
||
22 | } |
||
23 | 103 | ||
24 | /** |
||
25 | 103 | * @return ExecutionResult |
|
26 | */ |
||
27 | public function getResult(): ExecutionResult |
||
28 | { |
||
29 | return $this->result; |
||
30 | } |
||
31 | |||
32 | public function getExecutorArguments(): ExecutorArgumentsEvent |
||
35 | } |
||
36 | } |
||
37 |