1 | <?php |
||
5 | class Stats |
||
6 | { |
||
7 | /** |
||
8 | * @var int|null |
||
9 | */ |
||
10 | public $wins; |
||
11 | |||
12 | /** |
||
13 | * @var int|null |
||
14 | */ |
||
15 | public $losses; |
||
16 | |||
17 | /** |
||
18 | * @var int|null |
||
19 | */ |
||
20 | public $gradeScore; |
||
21 | |||
22 | /** |
||
23 | * @var int|null |
||
24 | */ |
||
25 | public $timePlayed; |
||
26 | |||
27 | /** |
||
28 | * @var int|null |
||
29 | */ |
||
30 | public $ranked2v2Wins; |
||
31 | |||
32 | /** |
||
33 | * @var int|null |
||
34 | */ |
||
35 | public $ranked2v2Losses; |
||
36 | |||
37 | /** |
||
38 | * @var int|null |
||
39 | */ |
||
40 | public $ranked3v3Wins; |
||
41 | |||
42 | /** |
||
43 | * @var int|null |
||
44 | */ |
||
45 | public $ranked3v3Losses; |
||
46 | |||
47 | /** |
||
48 | * @var int|null |
||
49 | */ |
||
50 | public $unranked2v2Wins; |
||
51 | |||
52 | /** |
||
53 | * @var int|null |
||
54 | */ |
||
55 | public $unranked2v2Losses; |
||
56 | |||
57 | /** |
||
58 | * @var int|null |
||
59 | */ |
||
60 | public $unranked3v3Wins; |
||
61 | |||
62 | /** |
||
63 | * @var int|null |
||
64 | */ |
||
65 | public $unranked3v3Losses; |
||
66 | |||
67 | /** |
||
68 | * @var int|null |
||
69 | */ |
||
70 | public $brawlWins; |
||
71 | |||
72 | /** |
||
73 | * @var int|null |
||
74 | */ |
||
75 | public $brawlLosses; |
||
76 | |||
77 | /** |
||
78 | * @var int|null |
||
79 | */ |
||
80 | public $battlegroundsWins; |
||
81 | |||
82 | /** |
||
83 | * @var int|null |
||
84 | */ |
||
85 | public $battlegroundsLosses; |
||
86 | |||
87 | /** |
||
88 | * @var int|null |
||
89 | */ |
||
90 | public $accountXP; |
||
91 | |||
92 | /** |
||
93 | * @var int|null |
||
94 | */ |
||
95 | public $accountLevel; |
||
96 | |||
97 | /** |
||
98 | * @var mixed|null |
||
99 | */ |
||
100 | public $twitchAccountLinked; |
||
101 | |||
102 | /** |
||
103 | * @var int|null |
||
104 | */ |
||
105 | public $vsAIPlayed; |
||
106 | |||
107 | /** |
||
108 | * @var int|null |
||
109 | */ |
||
110 | public $ratingMean; |
||
111 | |||
112 | /** |
||
113 | * @var int|null |
||
114 | */ |
||
115 | public $ratingDev; |
||
116 | |||
117 | /** |
||
118 | * @var Champions |
||
119 | */ |
||
120 | public $champions; |
||
121 | |||
122 | /** |
||
123 | * @var Maps |
||
124 | */ |
||
125 | public $maps; |
||
126 | |||
127 | 1 | public static function createFromArray( |
|
161 | } |
||
162 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..