Completed
Push — master ( b38731...5d7e29 )
by Marcus
02:03
created

Root   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
1
<?php
2
namespace LesserPhp\Block;
3
4
use LesserPhp\Block;
5
6
/**
7
 * lesserphp
8
 * https://www.maswaba.de/lesserphp
9
 *
10
 * LESS CSS compiler, adapted from http://lesscss.org
11
 *
12
 * Copyright 2013, Leaf Corcoran <[email protected]>
13
 * Copyright 2016, Marcus Schwarz <[email protected]>
14
 * Copyright 2017, Stefan Pöhner <[email protected]>
15
 * Licensed under MIT or GPLv3, see LICENSE
16
 *
17
 * @package LesserPhp
18
 */
19
class Root extends Block
20
{
21
    /**
22
     * @inheritdoc
23
     */
24
    public function getType()
25
    {
26
        return 'root';
27
    }
28
}
29