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 (#4988)
by Pedro
40:53 queued 25:51
created

HasMacros   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getMacros() 0 3 1
1
<?php
2
3
namespace Backpack\CRUD\app\Library\CrudPanel\Traits\Support;
4
5
trait HasMacros
6
{
7
    /**
8
     * The registered string macros.
9
     *
10
     * @var array
11
     */
12
    protected static $macros = [];
13
14
    /**
15
     * Get the registered macros.
16
     *
17
     * @var array
18
     */
19
    public function getMacros()
20
    {
21
        return static::$macros;
22
    }
23
}
24