Completed
Push — master ( 3041fb...0ec14e )
by Dmitry
03:31
created

Execute::run()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 6
ccs 0
cts 6
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
1
<?php
2
3
namespace Basis\Job\Module;
4
5
use Basis\Job;
6
use Basis\Executor;
7
8
class Execute extends Job
9
{
10
    public function run(Executor $executor)
11
    {
12
        return [
13
            'success' => !!$executor->process(),
14
        ];
15
    }
16
}
17