Test Failed
Push — master ( bdaab5...176ee2 )
by Vladimir
06:36
created

Controller   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A __invoke() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace FondBot\Controllers;
6
7
use FondBot\Foundation\Kernel;
8
use Psr\Http\Message\ResponseInterface;
9
use Zend\Diactoros\Response\HtmlResponse;
10
11
class Controller
12
{
13
    public function __invoke(): ResponseInterface
14
    {
15
        return new HtmlResponse('FondBot v'.Kernel::VERSION);
16
    }
17
}
18