Passed
Push — master ( c6150b...ef80b0 )
by Mihail
05:01
created

ActionAntivirus   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A antivirus() 0 3 1
1
<?php
2
3
namespace Apps\Controller\Admin\Main;
4
5
6
use Ffcms\Core\Arch\View;
7
use Ffcms\Core\Network\Request;
8
use Ffcms\Core\Network\Response;
9
10
/**
11
 * Trait ActionAntivirus
12
 * @package Apps\Controller\Admin\Main
13
 * @property Request $request
14
 * @property Response $response
15
 * @property View $view
16
 */
17
trait ActionAntivirus
18
{
19
    /**
20
     * Render antivirus page
21
     * @return string|null
22
     */
23
    public function antivirus(): ?string
24
    {
25
        return $this->view->render('main/antivirus');
26
    }
27
}