Completed
Pull Request — master (#6)
by
unknown
02:21 queued 11s
created

MailLogoLink   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 1
dl 0
loc 15
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getImage() 0 4 1
1
<?php
2
3
4
namespace hiqdev\thememanager\widgets;
5
6
/**
7
 * Class MailLogoLink
8
 * @package hiqdev\thememanager\widgets
9
 */
10
class MailLogoLink extends LogoLink
11
{
12
    /**
13
     * @var string
14
     */
15
    public $websiteUrl = '';
16
17
    /**
18
     * @inheritDoc
19
     */
20
    protected function getImage($path)
21
    {
22
        return $this->websiteUrl . parent::getImage($path);
23
    }
24
}
25