@@ -5,15 +5,14 @@ |
||
| 5 | 5 | use ClashOfClans\Api\AbstractResource; |
| 6 | 6 | |
| 7 | 7 | /** |
| 8 | - |
|
| 9 | 8 | */ |
| 10 | 9 | class AchievementList extends AbstractResource |
| 11 | 10 | { |
| 12 | - protected $casts = [ |
|
| 13 | - 'all' => Achievement::class |
|
| 14 | - ]; |
|
| 11 | + protected $casts = [ |
|
| 12 | + 'all' => Achievement::class |
|
| 13 | + ]; |
|
| 15 | 14 | |
| 16 | - /** |
|
| 15 | + /** |
|
| 17 | 16 | * @return array |
| 18 | 17 | */ |
| 19 | 18 | public function all() |
@@ -13,11 +13,11 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | class PlayerItemLevelList extends AbstractResource |
| 15 | 15 | { |
| 16 | - protected $casts = [ |
|
| 17 | - 'all' => PlayerItemLevel::class |
|
| 18 | - ]; |
|
| 16 | + protected $casts = [ |
|
| 17 | + 'all' => PlayerItemLevel::class |
|
| 18 | + ]; |
|
| 19 | 19 | |
| 20 | - /** |
|
| 20 | + /** |
|
| 21 | 21 | * @return array |
| 22 | 22 | */ |
| 23 | 23 | public function all() |
@@ -29,13 +29,13 @@ |
||
| 29 | 29 | |
| 30 | 30 | class Player extends AbstractResource |
| 31 | 31 | { |
| 32 | - protected $casts = [ |
|
| 33 | - 'league' => League::class, |
|
| 34 | - 'clan' => Clan::class, |
|
| 35 | - 'spells' => PlayerItemLevelList::class, |
|
| 36 | - 'heroes' => PlayerItemLevelList::class, |
|
| 37 | - 'troops' => PlayerItemLevelList::class, |
|
| 38 | - 'achievements' => AchievementList::class |
|
| 39 | - ]; |
|
| 32 | + protected $casts = [ |
|
| 33 | + 'league' => League::class, |
|
| 34 | + 'clan' => Clan::class, |
|
| 35 | + 'spells' => PlayerItemLevelList::class, |
|
| 36 | + 'heroes' => PlayerItemLevelList::class, |
|
| 37 | + 'troops' => PlayerItemLevelList::class, |
|
| 38 | + 'achievements' => AchievementList::class |
|
| 39 | + ]; |
|
| 40 | 40 | } |
| 41 | 41 | |