Completed
Pull Request — master (#9)
by
unknown
02:53
created

PlayerItemLevelList::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
c 2
b 0
f 0
dl 0
loc 4
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