GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Item::getQtyOrdered()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Magium\Magento\Extractors\Customer\Order;
4
5
class Item
6
{
7
    const EXTRACTOR = 'Customer\Order\Item';
8
    protected $productName;
9
    protected $sku;
10
    protected $price;
11
    protected $qtyOrdered;
12
    protected $qtyShipped;
13
    protected $subTotal;
14
15
    /**
16
     * OrderItem constructor.
17
     * @param $price
18
     * @param $productName
19
     * @param $qtyOrdered
20
     * @param $qtyShipped
21
     * @param $sku
22
     * @param $subTotal
23
     */
24
    public function __construct($price, $productName, $qtyOrdered, $qtyShipped, $sku, $subTotal)
25
    {
26
        $this->price = $price;
27
        $this->productName = $productName;
28
        $this->qtyOrdered = $qtyOrdered;
29
        $this->qtyShipped = $qtyShipped;
30
        $this->sku = $sku;
31
        $this->subTotal = $subTotal;
32
    }
33
34
    /**
35
     * @return mixed
36
     */
37
    public function getPrice()
38
    {
39
        return $this->price;
40
    }
41
42
    /**
43
     * @return mixed
44
     */
45
    public function getProductName()
46
    {
47
        return $this->productName;
48
    }
49
50
    /**
51
     * @return mixed
52
     */
53
    public function getQtyOrdered()
54
    {
55
        return $this->qtyOrdered;
56
    }
57
58
    /**
59
     * @return mixed
60
     */
61
    public function getQtyShipped()
62
    {
63
        return $this->qtyShipped;
64
    }
65
66
    /**
67
     * @return mixed
68
     */
69
    public function getSku()
70
    {
71
        return $this->sku;
72
    }
73
74
    /**
75
     * @return mixed
76
     */
77
    public function getSubTotal()
78
    {
79
        return $this->subTotal;
80
    }
81
82
83
}