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
Push — agnostic-filters ( 098734 )
by Pedro
14:08
created

FiltersNavbar   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

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
     * Create a new component instance.
14
     */
15
    public function __construct($crud)
16
    {
17
        $this->crud = $crud;
18
    }
19
20
    /**
21
     * Get the view / contents that represent the component.
22
     */
23
    public function render(): View|Closure|string
24
    {
25
        return backpack_view('components.filters-navbar');
26
    }
27
}
28