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

PlayerItemLevelList   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
c 2
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
 * @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