Completed
Pull Request — master (#9)
by
unknown
86:07 queued 42:25
created

AchievementList::all()   A

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
/**
8
9
 */
10
class AchievementList extends AbstractResource
11
{
12
	protected $casts = [
13
		'all' => Achievement::class
14
	];
15
	
16
	/**
17
     * @return array
18
     */
19
    public function all()
20
    {
21
        return $this->get();
22
    }
23
}