Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | class DummyPHPSuccess implements ActionInterface |
||
20 | { |
||
21 | /** |
||
22 | * Execute static action without errors or exceptions |
||
23 | */ |
||
24 | public static function executeStatic() |
||
25 | { |
||
26 | // do something fooish statically |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Execute action without errors or exceptions |
||
31 | * |
||
32 | * @param \CaptainHook\App\Config $config |
||
33 | * @param \CaptainHook\App\Console\IO $io |
||
34 | * @param \SebastianFeldmann\Git\Repository $repository |
||
35 | * @param \CaptainHook\App\Config\Action $action |
||
36 | * @return void |
||
37 | */ |
||
38 | public function execute(Config $config, IO $io, Repository $repository, Config\Action $action): void |
||
40 | // do something fooish |
||
41 | } |
||
43 |