1 | <?php |
||
8 | class Stats |
||
9 | { |
||
10 | /** |
||
11 | * @var int|null |
||
12 | */ |
||
13 | public $wins; |
||
14 | |||
15 | /** |
||
16 | * @var int|null |
||
17 | */ |
||
18 | public $losses; |
||
19 | |||
20 | /** |
||
21 | * @var int|null |
||
22 | */ |
||
23 | public $gradeScore; |
||
24 | |||
25 | /** |
||
26 | * @var int|null |
||
27 | */ |
||
28 | public $timePlayed; |
||
29 | |||
30 | /** |
||
31 | * @var int|null |
||
32 | */ |
||
33 | public $ranked2v2Wins; |
||
34 | |||
35 | /** |
||
36 | * @var int|null |
||
37 | */ |
||
38 | public $ranked2v2Losses; |
||
39 | |||
40 | /** |
||
41 | * @var int|null |
||
42 | */ |
||
43 | public $ranked3v3Wins; |
||
44 | |||
45 | /** |
||
46 | * @var int|null |
||
47 | */ |
||
48 | public $ranked3v3Losses; |
||
49 | |||
50 | /** |
||
51 | * @var int|null |
||
52 | */ |
||
53 | public $unranked2v2Wins; |
||
54 | |||
55 | /** |
||
56 | * @var int|null |
||
57 | */ |
||
58 | public $unranked2v2Losses; |
||
59 | |||
60 | /** |
||
61 | * @var int|null |
||
62 | */ |
||
63 | public $unranked3v3Wins; |
||
64 | |||
65 | /** |
||
66 | * @var int|null |
||
67 | */ |
||
68 | public $unranked3v3Losses; |
||
69 | |||
70 | /** |
||
71 | * @var int|null |
||
72 | */ |
||
73 | public $brawlWins; |
||
74 | |||
75 | /** |
||
76 | * @var int|null |
||
77 | */ |
||
78 | public $brawlLosses; |
||
79 | |||
80 | /** |
||
81 | * @var int|null |
||
82 | */ |
||
83 | public $battlegroundsWins; |
||
84 | |||
85 | /** |
||
86 | * @var int|null |
||
87 | */ |
||
88 | public $battlegroundsLosses; |
||
89 | |||
90 | /** |
||
91 | * @var int|null |
||
92 | */ |
||
93 | public $accountXP; |
||
94 | |||
95 | /** |
||
96 | * @var int|null |
||
97 | */ |
||
98 | public $accountLevel; |
||
99 | |||
100 | /** |
||
101 | * @var mixed|null |
||
102 | */ |
||
103 | public $twitchAccountLinked; |
||
104 | |||
105 | /** |
||
106 | * @var int|null |
||
107 | */ |
||
108 | public $vsAIPlayed; |
||
109 | |||
110 | /** |
||
111 | * @var int|null |
||
112 | */ |
||
113 | public $ratingMean; |
||
114 | |||
115 | /** |
||
116 | * @var int|null |
||
117 | */ |
||
118 | public $ratingDev; |
||
119 | |||
120 | /** |
||
121 | * @var Champions |
||
122 | */ |
||
123 | public $champions; |
||
124 | |||
125 | /** |
||
126 | * @var Maps |
||
127 | */ |
||
128 | public $maps; |
||
129 | |||
130 | 1 | public static function createFromArray( |
|
164 | } |
||
165 |
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..