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.
Passed
Push — master ( b2510c...ee0bb8 )
by
unknown
12:46
created

Radio   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
dl 0
loc 16
c 0
b 0
f 0
ccs 0
cts 6
cp 0
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
namespace SleepingOwl\Admin\Form\Element;
4
5
class Radio extends Select
6
{
7
    /**
8
     * @var string
9
     */
10
    protected $view = 'form.element.radio';
11
12
    public function __construct($path, $label = null, $options = [])
13
    {
14
        parent::__construct($path, $label, $options);
15
16
        $this->setHtmlAttributes([
17
            'type'=>'radio',
18
        ]);
19
    }
20
}
21