We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Total Complexity | 2 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 0 |
1 | <?php |
||
10 | class FiltersNavbar extends Component |
||
11 | { |
||
12 | public CrudPanel $crud; |
||
13 | public string $id; |
||
14 | |||
15 | /** |
||
16 | * Create a new component instance. |
||
17 | */ |
||
18 | public function __construct($crud, $id = null) |
||
19 | { |
||
20 | $this->crud = $crud; |
||
21 | $this->id = $id ?? 'filters-navbar-'.uniqid(); |
||
22 | } |
||
23 | |||
24 | /** |
||
25 | * Get the view / contents that represent the component. |
||
26 | */ |
||
27 | public function render(): View|Closure|string |
||
30 | } |
||
31 | } |
||
32 |