Completed
Push — master ( 941f20...d554c9 )
by Klochok
13:46
created

LogoLink   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 1
cbo 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A collectData() 0 7 1
1
<?php
2
3
namespace hiqdev\themes\obaju\widgets;
4
5
class LogoLink extends \hiqdev\thememanager\widgets\LogoLink
6
{
7
    public $smallImage;
8
9
    public $smallImageOptions = [];
10
11
    protected function collectData()
12
    {
13
        return array_merge([
14
            'smallImage' => $this->getAssetImage($this->smallImage),
15
            'smallImageOptions' => $this->smallImageOptions,
16
        ], parent::collectData());
17
    }
18
}
19