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.

ChartData::setOpen()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * This file is part of Poloniex PHP SDK.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 *
8
 * @copyright 2017-2018 Chasovskih Grisha <[email protected]>
9
 * @license https://github.com/signulls/poloniex-php-sdk/blob/master/LICENSE MIT
10
 */
11
12
namespace Poloniex\Response\PublicApi;
13
14
use Poloniex\Response\AbstractResponse;
15
16
/**
17
 * Class ChartData
18
 *
19
 * @author Grisha Chasovskih <[email protected]>
20
 */
21
class ChartData extends AbstractResponse
22
{
23
    /**
24
     * Example: 1511032200
25
     *
26
     * @var int
27
     */
28
    public $date;
29
30
    /**
31
     * Example: 0.01702169
32
     *
33
     * @var float
34
     */
35
    public $high;
36
37
    /**
38
     * Example: 0.01687201
39
     *
40
     * @var float
41
     */
42
    public $low;
43
44
    /**
45
     * Example: 0.016912
46
     *
47
     * @var float
48
     */
49
    public $open;
50
51
    /**
52
     * Example: 0.01699755
53
     *
54
     * @var float
55
     */
56
    public $close;
57
58
    /**
59
     * Example: 5.33183643
60
     *
61
     * @var float
62
     */
63
    public $volume;
64
65
    /**
66
     * Example: 314.01492203
67
     *
68
     * @var float
69
     */
70
    public $quoteVolume;
71
72
    /**
73
     * Example: 0.01697956
74
     *
75
     * @var float
76
     */
77
    public $weightedAverage;
78
79
    /**
80
     * @internal
81
     * @param int $date
82
     */
83
    public function setDate(int $date): void
84
    {
85
        $this->date = $date;
86
    }
87
88
    /**
89
     * @internal
90
     * @param float $high
91
     */
92
    public function setHigh(float $high): void
93
    {
94
        $this->high = $high;
95
    }
96
97
    /**
98
     * @internal
99
     * @param float $low
100
     */
101
    public function setLow(float $low): void
102
    {
103
        $this->low = $low;
104
    }
105
106
    /**
107
     * @internal
108
     * @param float $open
109
     */
110
    public function setOpen(float $open): void
111
    {
112
        $this->open = $open;
113
    }
114
115
    /**
116
     * @internal
117
     * @param float $close
118
     */
119
    public function setClose(float $close): void
120
    {
121
        $this->close = $close;
122
    }
123
124
    /**
125
     * @internal
126
     * @param float $volume
127
     */
128
    public function setVolume(float $volume): void
129
    {
130
        $this->volume = $volume;
131
    }
132
133
    /**
134
     * @internal
135
     * @param float $quoteVolume
136
     */
137
    public function setQuoteVolume(float $quoteVolume): void
138
    {
139
        $this->quoteVolume = $quoteVolume;
140
    }
141
142
    /**
143
     * @internal
144
     * @param float $weightedAverage
145
     */
146
    public function setWeightedAverage(float $weightedAverage): void
147
    {
148
        $this->weightedAverage = $weightedAverage;
149
    }
150
}