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 — crud-uploads ( 044930 )
by Pedro
11:38
created

HasCrudObjectType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCrudObjectType() 0 3 1
1
<?php
2
3
namespace Backpack\CRUD\app\Library\CrudPanel\Uploads\Traits;
4
5
trait HasCrudObjectType
6
{
7
    /**
8
     * The type of the object upload is handling: field or column.
9
     *
10
     * @var string
11
     */
12
    public string $crudObjectType;
13
14
    /**
15
     * Return the crud object type, field or column
16
     *
17
     * @return string
18
     */
19
    public function getCrudObjectType()
20
    {
21
        return $this->crudObjectType;
22
    }
23
}