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

PluginRefreshDefinition   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 8
ccs 0
cts 3
cp 0
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A define() 0 3 1
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
}