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

PlayerItemLevelList::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
 * @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