Passed
Pull Request — master (#721)
by Florian
03:05
created

Input::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 2
c 1
b 0
f 0
nc 1
nop 6
dl 0
loc 6
ccs 3
cts 3
cp 1
crap 1
rs 10
1
<?php
2
3
namespace JeroenNoten\LaravelAdminLte\Components;
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, $label = null, $size = null,
14
        $labelClass = null, $topClass = null, $disableFeedback = null
15
    ) {
16 1
        parent::__construct(
17 1
            $name, $label, $size, $labelClass, $topClass, $disableFeedback
18
        );
19 1
    }
20
21
    /**
22
     * Get the view / contents that represent the component.
23
     *
24
     * @return \Illuminate\View\View|string
25
     */
26 1
    public function render()
27
    {
28 1
        return view('adminlte::components.input');
29
    }
30
}
31