Passed
Push — master ( d68e66...3a2ed0 )
by PHPinnacle
03:05
created

Task   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 3
dl 0
loc 37
ccs 10
cts 10
cp 1
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of PHPinnacle/Ensign.
4
 *
5
 * (c) PHPinnacle Team <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
11
declare(strict_types = 1);
12
13
namespace PHPinnacle\Ensign;
14
15
interface Task
16
{
17
    /**
18
     * @param callable $then
19
     */
20
    public function then(callable $then): void;
21
22
    /**
23
     * @return void
24
     */
25
    public function cancel(): void;
26
}
27