Passed
Pull Request — master (#721)
by Florian
02:40
created

ProfileWidgetItem   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 2
Bugs 1 Features 0
Metric Value
eloc 8
c 2
b 1
f 0
dl 0
loc 16
ccs 0
cts 7
cp 0
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A render() 0 3 1
1
<?php
2
3
namespace JeroenNoten\LaravelAdminLte\Components;
4
5
use Illuminate\View\Component;
6
7
class ProfileWidgetItem extends Component
8
{
9
    public $col;
10
    public $title;
11
    public $text;
12
13
    public function __construct($col = '4', $title, $text)
14
    {
15
        $this->col = $col;
16
        $this->title = $title;
17
        $this->text = $text;
18
    }
19
20
    public function render()
21
    {
22
        return view('adminlte::components.profile-widget-item');
23
    }
24
}
25