PatreonFrame::run()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace humhub\modules\patreon\widgets;
4
5
use Yii;
6
use humhub\components\Widget;
7
8
/**
9
 *
10
 * @author Felli
11
 */
12
class PatreonFrame extends Widget
13
{
14
    public $contentContainer;
15
16
    /**
17
     * @inheritdoc
18
     */
19
    public function run()
20
    {
21
        $url = Yii::$app->getModule('patreon')->getServerUrl() . '';
22
        return $this->render('patreonframe', ['patreonUrl' => $url]);
23
    }
24
25
}
26