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 ( 4ad147...a42b47 )
by Florian
02:27
created

Potato   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

3 Methods

Rating   Name   Duplication   Size   Complexity  
A getId() 0 3 1
A getTitle() 0 3 1
A setTitle() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the Stinger Enity Search package.
5
 *
6
 * (c) Oliver Kotte <[email protected]>
7
 * (c) Florian Meyer <[email protected]>
8
 *
9
 * For the full copyright and license information, please view the LICENSE
10
 * file that was distributed with this source code.
11
 */
12
namespace StingerSoft\EntitySearchBundle\Tests\Fixtures\ORM;
13
14
use Doctrine\ORM\Mapping as ORM;
15
16
/**
17
 * @ORM\Entity
18
 */
19
class Potato {
20
21
	/**
22
	 * @ORM\Id
23
	 * @ORM\Column(type="integer")
24
	 * @ORM\GeneratedValue(strategy="IDENTITY")
25
	 */
26
	private $id;
27
28
	/**
29
	 * @ORM\Column(name="title", type="string", length=128)
30
	 */
31
	private $title;
32
33
	public function getId() {
34
		return $this->id;
35
	}
36
37
	public function getTitle() {
38
		return $this->title;
39
	}
40
41
	public function setTitle($title) {
42
		$this->title = $title;
43
		return $this;
44
	}
45
}