Passed
Push — master ( 4ada59...3080fc )
by Bruno
09:58
created

Framework   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 4
c 1
b 1
f 0
dl 0
loc 15
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A viewableCompose() 0 3 1
A editableCompose() 0 3 1
A __construct() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace Formularium\Frontend\HTMLValidation;
4
5
class Framework extends \Formularium\Framework
6
{
7
    public function __construct(string $name = 'HTMLValidation')
8
    {
9
        parent::__construct($name);
10
    }
11
12
    public function viewableCompose(\Formularium\Model $m, array $elements, string $previousCompose): string
13
    {
14
        return $previousCompose;
15
    }
16
17
    public function editableCompose(\Formularium\Model $m, array $elements, string $previousCompose): string
18
    {
19
        return $previousCompose;
20
    }
21
}
22