AchievementList::all()   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
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace ClashOfClans\Api\Player;
4
5
use ClashOfClans\Api\AbstractResource;
6
7
class AchievementList extends AbstractResource
8
{
9
    protected $casts = [
10
        'all' => Achievement::class
11
    ];
12
	
13
    /**
14
    * @return array
15
    */
16
    public function all()
17
    {
18
        return $this->get();
19
    }
20
}
21