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 — next (#5688)
by Cristian
28:38 queued 13:34
created

Datatable   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A render() 0 4 1
1
<?php
2
3
namespace Backpack\CRUD\app\Library\Datatable;
4
5
use Backpack\CRUD\app\Library\CrudPanel\CrudPanel;
6
use Illuminate\View\Component;
7
8
class Datatable extends Component
9
{
10
    public function __construct(private CrudPanel $crud)
11
    {
12
    }
13
14
    public function render()
15
    {
16
        return view('crud::datatable.datatable', [
17
            'crud' => $this->crud,
18
        ]);
19
    }
20
}
21