Passed
Push — master ( 53821d...e70153 )
by Phillip
03:50
created

PluginRefreshDefinition::define()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Deployee\Plugins\ShopwareTasks\Definitions;
4
5
6
use Deployee\Plugins\Deploy\Definitions\Parameter\ParameterCollection;
7
use Deployee\Plugins\Deploy\Definitions\Parameter\ParameterCollectionInterface;
8
use Deployee\Plugins\Deploy\Definitions\Tasks\TaskDefinitionInterface;
9
10
class PluginRefreshDefinition implements TaskDefinitionInterface
11
{
12
    /**
13
     * @return ParameterCollectionInterface
14
     */
15
    public function define(): ParameterCollectionInterface
16
    {
17
        return new ParameterCollection(get_object_vars($this));
18
    }
19
}