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 ( 2998b0...c1d9d9 )
by Dave
28:06 queued 22:43
created

FormTabbed::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 5
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace SleepingOwl\Admin\Form;
4
5
use SleepingOwl\Admin\Traits\PanelControl;
6
7
class FormTabbed extends FormDefault
8
{
9
    use PanelControl;
10
11
    /**
12
     * @var string
13
     */
14
    protected $view = 'form.tabbed';
15
16
    /**
17
     * FormTabbed constructor.
18
     *
19
     * @param array $elements
20
     */
21
    public function __construct(array $elements = [])
22
    {
23
        parent::__construct($elements);
24
25
        $this->setPanelClass('panel-form-tabbed');
26
    }
27
28
    /**
29
     * Initialize form.
30
     */
31
    public function initialize()
32
    {
33
        $this->getButtons()->setHtmlAttribute('class', 'panel-footer');
34
35
        $this->setHtmlAttribute('class', 'panel panel-default '.$this->getPanelClass());
36
37
        parent::initialize();
38
    }
39
}
40