Passed
Push — master ( 5cded9...9f728c )
by Diego
02:41
created

Input   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 26
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
A render() 0 3 1
1
<?php
2
3
namespace JeroenNoten\LaravelAdminLte\Components\Form;
4
5
class Input extends InputGroupComponent
6
{
7
    /**
8
     * Create a new component instance.
9
     *
10
     * @return void
11
     */
12 1
    public function __construct(
13
        $name, $id = null, $label = null, $igroupSize = null, $labelClass = null,
14
        $fgroupClass = null, $igroupClass = null, $disableFeedback = null,
15
        $errorKey = null
16
    ) {
17 1
        parent::__construct(
18 1
            $name, $id, $label, $igroupSize, $labelClass, $fgroupClass,
19
            $igroupClass, $disableFeedback, $errorKey
20
        );
21 1
    }
22
23
    /**
24
     * Get the view / contents that represent the component.
25
     *
26
     * @return \Illuminate\View\View|string
27
     */
28 1
    public function render()
29
    {
30 1
        return view('adminlte::components.form.input');
31
    }
32
}
33