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.

SearchSuggestion::getText()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace Magium\Magento\Extractors\Catalog\Search;
4
5
use Facebook\WebDriver\WebDriverElement;
6
7
class SearchSuggestion
8
{
9
10
    protected $text;
11
    protected $count;
12
    protected $element;
13
14
    /**
15
     * SearchSuggestion constructor.
16
     * @param $element
17
     * @param $count
18
     * @param $text
19
     */
20
    public function __construct(WebDriverElement $element, $count, $text)
21
    {
22
        $this->count = $count;
23
        $this->text = $text;
24
        $this->element = $element;
25
    }
26
27
    /**
28
     * @return WebDriverElement
29
     */
30
31
    public function getElement()
32
    {
33
        return $this->element;
34
    }
35
36
    /**
37
     * @return mixed
38
     */
39
    public function getCount()
40
    {
41
        return $this->count;
42
    }
43
44
    /**
45
     * @return mixed
46
     */
47
    public function getText()
48
    {
49
        return $this->text;
50
    }
51
52
53
}