Test Failed
Push — master ( e97986...2933e0 )
by Bruno
19:41 queued 09:43
created

Table   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 6
c 1
b 0
f 0
dl 0
loc 18
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getMetadata() 0 4 1
A render() 0 10 1
1
<?php declare(strict_types=1);
2
3
namespace Formularium\Frontend\Vuetify\Element;
4
5
use Formularium\Element;
6
use Formularium\HTMLNode;
7
use Formularium\Metadata;
8
use Formularium\MetadataParameter;
9
use Formularium\Frontend\HTML\Element\Table as HTMLTable;
10
11
class Table extends VuetifyElement
12
{
13
    public function render(array $parameters, HTMLNode $previous): HTMLNode
14
    {
15
        $node = HTMLNode::factory(
16
            'v-simple-table',
17
            [
18
                // TODO
19
            ]
20
        );
21
22
        return $node;
23
    }
24
25
    public static function getMetadata(): Metadata
26
    {
27
        $metadata = HTMLTable::getMetadata();
28
        return $metadata;
29
    }
30
}
31