Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Passed
Pull Request — main (#5289)
by Pedro
15:04
created

NestedMenuDropdown   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 3 1
1
<?php
2
3
namespace Backpack\CRUD\app\View\Components;
4
5
use Closure;
6
use Illuminate\Contracts\View\View;
7
use Illuminate\View\Component;
8
9
class NestedMenuDropdown extends MenuDropdown
10
{
11
    /**
12
     * Get the view / contents that represent the component.
13
     */
14
    public function render(): View|Closure|string
15
    {
16
        return backpack_view('components.nested-menu-dropdown');
17
    }
18
}
19