Test Failed
Push — develop ( 47e1b5...e72b23 )
by Jens
18:53 queued 15s
created

ContainerAndKey   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 4
dl 0
loc 7
rs 10
c 1
b 0
f 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A fieldDefinitions() 0 5 1
1
<?php
2
3
namespace Commercetools\Core\Model\Common;
4
5
/**
6
 * @package Commercetools\Core\Model\Common
7
 *
8
 * @method string getContainer()
9
 * @method ContainerAndKey setContainer(string $container = null)
10
 * @method string getKey()
11
 * @method ContainerAndKey setKey(string $key = null)
12
 */
13
class ContainerAndKey extends JsonObject
14
{
15
    public function fieldDefinitions()
16
    {
17
        return [
18
            'container' => [self::TYPE => 'string'],
19
            'key' => [self::TYPE => 'string'],
20
        ];
21
    }
22
}
23