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   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
eloc 8
dl 0
loc 31
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A initialize() 0 7 1
A __construct() 0 5 1
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