Completed
Push — master ( 32dcc3...b50c12 )
by Jonathan
14:17 queued 06:25
created

SummaryFields   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 19
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 6 1
1
<?php
2
3
namespace Uccello\Core\Widgets;
4
5
use Arrilot\Widgets\AbstractWidget;
0 ignored issues
show
Bug introduced by
The type Arrilot\Widgets\AbstractWidget was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
6
7
class SummaryFields extends AbstractWidget
8
{
9
    /**
10
     * The configuration array.
11
     *
12
     * @var array
13
     */
14
    protected $config = [ ];
15
16
    /**
17
     * Treat this method as a controller action.
18
     * Return view() or other content to display.
19
     */
20
    public function run()
21
    {
22
        //
23
24
        return view('uccello::widgets.summary_fields', [
25
            'config' => $this->config,
26
        ]);
27
    }
28
}
29