Passed
Pull Request — master (#32)
by
unknown
18:56
created

ProductStockStatusResponseModelLanguages   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 5
c 1
b 1
f 0
dl 0
loc 28
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getData() 0 3 1
A setData() 0 4 1
1
<?php
2
3
namespace Starweb\Api\Generated\Model;
4
5
class ProductStockStatusResponseModelLanguages
6
{
7
    /**
8
     * 
9
     *
10
     * @var ProductStockStatusLanguageModel[]|null
11
     */
12
    protected $data;
13
    /**
14
     * 
15
     *
16
     * @return ProductStockStatusLanguageModel[]|null
17
     */
18
    public function getData() : ?array
19
    {
20
        return $this->data;
21
    }
22
    /**
23
     * 
24
     *
25
     * @param ProductStockStatusLanguageModel[]|null $data
26
     *
27
     * @return self
28
     */
29
    public function setData(?array $data) : self
30
    {
31
        $this->data = $data;
32
        return $this;
33
    }
34
}