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

PlayerItemLevelList   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
/**
8
 * @method string name()
9
 * @method int stars()
10
 * @method int value()
11
 * @method int target()
12
 * @method string completionInfo()
13
 */
14
class PlayerItemLevelList extends AbstractResource
15
{
16
    protected $casts = [
17
        'all' => PlayerItemLevel::class
18
    ];
19
	
20
    /**
21
    * @return array
22
    */
23
    public function all()
24
    {
25
        return $this->get();
26
    }
27
}
28