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 ( 66c291...444f0e )
by Bruno
03:49
created

PlaceholderContainerStepNode::getSectionKey()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
4
namespace Ciandt\Behat\PlaceholdersExtension\PlaceholderContainer;
5
6
use Behat\Gherkin\Node\StepNode;
7
8
/**
9
 * Description of DecoratedStepNode
10
 *
11
 * @author bwowk
12
 */
13
class PlaceholderContainerStepNode extends StepNode implements PlaceholderContainer{
14
    
15
    private $stepNode;
16
    
17
    private $variant;
18
    
19
    private $configKey;
20
    
21
    private $sectionKey;
22
    
23
    function __construct($stepNode,$configKey, $sectionKey,  $variant) {
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
24
        $this->stepNode = $stepNode;
25
        $this->configKey = $configKey;
26
        $this->sectionKey = $sectionKey;
27
        $this->variant = $variant;
28
    }
29
30
    
31
    public function getArguments() {
32
        return $this->stepNode->getArguments();
33
    }
34
35
    public function getKeyword() {
36
        return $this->stepNode->getKeyword();
37
    }
38
39
    public function getKeywordType() {
40
        return $this->stepNode->getKeywordType();
41
    }
42
43
    public function getLine() {
44
        return $this->stepNode->getLine();
45
    }
46
47
    public function getNodeType() {
48
        return $this->stepNode->getNodeType();
49
    }
50
51
    public function getText() {
52
        return $this->stepNode->getText();
53
    }
54
55
    public function getType() {
56
        return $this->stepNode->getType();
57
    }
58
59
    public function hasArguments() {
60
        return $this->stepNode->hasArguments();
61
    }
62
63
    public function getConfigKey() {
64
        return $this->configKey;
65
    }
66
67
    public function getSectionKey() {
68
        return $this->sectionKey;
69
    }
70
71
    public function getVariant() {
72
        return $this->variant;
73
    }
74
75
76
}
77