Renderer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A render() 0 4 1
1
<?php
2
/**
3
 * This file is part of Platform package.
4
 *
5
 * For the full copyright and license information, please view the LICENSE
6
 * file that was distributed with this source code.
7
 */
8
declare(strict_types=1);
9
10
namespace Karma\System\Gitter\Message;
11
12
use Karma\Platform\Ast\NodeList;
13
use Karma\Platform\Ast\Transformer\RendererInterface;
14
15
/**
16
 * Class Renderer
17
 * @package Karma\System\Gitter\Message
18
 */
19
class Renderer implements RendererInterface
20
{
21
    /**
22
     * @param NodeList $nodes
23
     * @return string
24
     */
25
    public function render(NodeList $nodes): string
26
    {
27
        return $nodes->getBody();
28
    }
29
}
30