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 ( f26e19...3fcf5a )
by Florian
05:27
created

TypeFacet::getField()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the Stinger Entity 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
13
namespace StingerSoft\EntitySearchBundle\Services\Facet;
14
15
use StingerSoft\EntitySearchBundle\Model\Document;
16
17
class TypeFacet implements FacetServiceInterface {
18
19
	const SERVICE_ID = 'stinger_soft_entity_search.facets.type';
20
21
	public function getField() {
22
		return Document::FIELD_TYPE;
23
	}
24
25
	public function getFormOptions() {
26
		return array(
27
			'label'              => 'stinger_soft_entity_search.forms.query.type.label',
28
			'translation_domain' => 'StingerSoftEntitySearchBundle'
29
		);
30
	}
31
32
	public function getFacetFormatter() {
33
		return null;
34
	}
35
36
}