Completed
Pull Request — master (#9)
by
unknown
01:59
created

AchievementList   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 3
Bugs 0 Features 0
Metric Value
wmc 1
c 3
b 0
f 0
lcom 0
cbo 1
dl 0
loc 14
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
/**
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
}
24