Passed
Pull Request — 2.x (#1360)
by Harings
14:11
created

Select   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 7
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 5 1
1
<?php
2
3
namespace A17\Twill\View\Components;
4
5
class Select extends FieldWithOptions
6
{
7
    public function render()
8
    {
9
        return view('twill::partials.form._select', [
10
            'options' => $this->options,
11
            'inModal' => $this->isInModal()
12
        ]);
13
    }
14
}
15