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

getData()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
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
}