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
Pull Request — master (#123)
by
unknown
08:06
created

CommercialTax::setId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * CommercialTax
5
 *
6
 * @author Jacky Casas
7
 * @copyright Expansion - le jeu
8
 *
9
 * @package Athena
10
 * @update 05.03.14
11
 */
12
namespace Asylamba\Modules\Athena\Model;
13
14
class CommercialTax {
15
16
	public $id = 0;
17
	public $faction = 0;
18
	public $relatedFaction = 0;
19
	public $exportTax;
20
	public $importTax;
21
22
	public function getId() { return $this->id; }
0 ignored issues
show
Coding Style introduced by
Opening brace must be the last content on the line
Loading history...
23
	public function getFaction() { return $this->faction; }
0 ignored issues
show
Coding Style introduced by
Opening brace must be the last content on the line
Loading history...
24
	public function getRelatedFaction() { return $this->relatedFaction; }
0 ignored issues
show
Coding Style introduced by
Opening brace must be the last content on the line
Loading history...
25
	public function getExportTax() { return $this->exportTax; }
0 ignored issues
show
Coding Style introduced by
Opening brace must be the last content on the line
Loading history...
26
	public function getImportTax() { return $this->importTax; }
0 ignored issues
show
Coding Style introduced by
Opening brace must be the last content on the line
Loading history...
27
28
	public function setId( $id)
0 ignored issues
show
Coding Style introduced by
Expected 0 spaces between opening bracket and argument "$id"; 1 found
Loading history...
29
	{
30
		$this->id = $id;
31
		return $this;
32
	}
33
	public function setFaction( $faction)
0 ignored issues
show
Coding Style introduced by
Expected 0 spaces between opening bracket and argument "$faction"; 1 found
Loading history...
34
	{
35
		$this->faction = $faction;
36
		return $this;
37
	}
38
	public function setRelatedFaction( $relatedFaction)
0 ignored issues
show
Coding Style introduced by
Expected 0 spaces between opening bracket and argument "$relatedFaction"; 1 found
Loading history...
39
	{
40
		$this->relatedFaction = $relatedFaction;
41
		return $this;
42
	}
43
	public function setExportTax( $exportTax)
0 ignored issues
show
Coding Style introduced by
Expected 0 spaces between opening bracket and argument "$exportTax"; 1 found
Loading history...
44
	{
45
		$this->exportTax = $exportTax;
46
		return $this;
47
	}
48
	public function setImportTax( $importTax)
0 ignored issues
show
Coding Style introduced by
Expected 0 spaces between opening bracket and argument "$importTax"; 1 found
Loading history...
49
	{
50
		$this->importTax = $importTax;
51
		return $this;
52
	}
53
}
54