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 ( 9976ec...52ec30 )
by Florian
06:40
created

Query::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 1
Metric Value
c 2
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 1
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
namespace StingerSoft\EntitySearchBundle\Model;
13
14
15
16
class Query {
17
18
	/**
19
	 * @var unknown
20
	 */
21
	private $term;
22
23
	/**
24
	 * @var string[string]
25
	 */
26
	private $facets;
27
28
	/**
29
	 * @param unknown $term
30
	 */
31
	public function __construct($term) {
32
		$this->term = $term;
33
	}
34
35
	/**
36
	 * Get the search term
37
	 *
38
	 * @return string Returns the search term
39
	 */
40
	public function getSearchTerm() {
41
		return $this->term;
42
	}
43
44
	
45
	/**
46
	 * @return string[string]
0 ignored issues
show
Documentation introduced by
The doc-type string[string] could not be parsed: Expected "]" at position 2, but found "string". (view supported doc-types)

This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.

Loading history...
47
	 */
48
	public function getFacets() {
49
		return $this->facets;
50
	}
51
	
52
}