Completed
Push — master ( f65d0f...a4d61e )
by Toni
01:57
created

AchievementList   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 14
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A all() 0 4 1
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