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 — allow-datatables-url-configura... (#5714)
by Pedro
29:17 queued 14:04
created

FiltersNavbar   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A render() 0 3 1
A __construct() 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 FiltersNavbar extends Component
10
{
11
    public $crud;
12
13
    /**
14
     * Create a new component instance.
15
     */
16
    public function __construct($crud)
17
    {
18
        $this->crud = $crud;
19
    }
20
21
    /**
22
     * Get the view / contents that represent the component.
23
     */
24
    public function render(): View|Closure|string
25
    {
26
        return backpack_view('components.filters-navbar');
27
    }
28
}
29