Passed
Push — master ( 9a6cab...462ca8 )
by Christian
39:54 queued 28:59
created

SwagTestPluginAclProductWriter::enrichPrivileges()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 3
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 5
rs 10
1
<?php declare(strict_types=1);
2
3
namespace SwagTestPluginAcl;
4
5
use Shopware\Core\Framework\Plugin;
6
7
class SwagTestPluginAclProductWriter extends Plugin
8
{
9
    public function enrichPrivileges(): array
10
    {
11
        return [
12
            'product.writer' => [
13
                'swag_demo_data:write',
14
            ],
15
        ];
16
    }
17
}
18