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

MailLogoLink::getImage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 0
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
crap 2
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