GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( 11c0a1...856a6b )
by Jacky
34s
created

Ranking   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 87
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
dl 0
loc 87
rs 10
c 1
b 0
f 0
wmc 8
lcom 0
cbo 0

8 Methods

Rating   Name   Duplication   Size   Complexity  
A setId() 0 6 1
A getId() 0 4 1
A setIsPlayer() 0 6 1
A getIsPlayer() 0 4 1
A setIsFaction() 0 6 1
A getIsFaction() 0 4 1
A setCreatedAt() 0 6 1
A getCreatedAt() 0 4 1
1
<?php
2
3
namespace Asylamba\Modules\Atlas\Model;
4
5
class Ranking
6
{
7
	/** @var int */
8
	protected $id;
9
	/** @var bool **/
10
	protected $isPlayer;
11
	/** @var bool **/
12
	protected $isFaction;
13
	/** @var string **/
14
	protected $createdAt;
15
	
16
	/**
17
	 * @param int $id
18
	 * @return Ranking
19
	 */
20
	public function setId($id)
21
	{
22
		$this->id = $id;
23
		
24
		return $this;
25
	}
26
	
27
	/**
28
	 * @return int
29
	 */
30
	public function getId()
31
	{
32
		return $this->id;
33
	}
34
	
35
	/**
36
	 * @param bool $isPlayer
37
	 * @return Ranking
38
	 */
39
	public function setIsPlayer($isPlayer)
40
	{
41
		$this->isPlayer = $isPlayer;
42
		
43
		return $this;
44
	}
45
	
46
	/**
47
	 * @return bool
48
	 */
49
	public function getIsPlayer()
50
	{
51
		return $this->isPlayer;
52
	}
53
	
54
	/**
55
	 * @param bool $isFaction
56
	 * @return Ranking
57
	 */
58
	public function setIsFaction($isFaction)
59
	{
60
		$this->isFaction = $isFaction;
61
		
62
		return $this;
63
	}
64
	
65
	/**
66
	 * @return bool
67
	 */
68
	public function getIsFaction()
69
	{
70
		return $this->isFaction;
71
	}
72
	
73
	/**
74
	 * @param string $createdAt
75
	 * @return Ranking
76
	 */
77
	public function setCreatedAt($createdAt)
78
	{
79
		$this->createdAt = $createdAt;
80
		
81
		return $this;
82
	}
83
	
84
	/**
85
	 * @return string
86
	 */
87
	public function getCreatedAt()
88
	{
89
		return $this->createdAt;
90
	}
91
}