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

Ruleset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 6 1
1
<?php
2
namespace LesserPhp\Block;
3
4
/**
5
 * lesserphp
6
 * https://www.maswaba.de/lesserphp
7
 *
8
 * LESS CSS compiler, adapted from http://lesscss.org
9
 *
10
 * Copyright 2013, Leaf Corcoran <[email protected]>
11
 * Copyright 2016, Marcus Schwarz <[email protected]>
12
 * Copyright 2017, Stefan Pöhner <[email protected]>
13
 * Licensed under MIT or GPLv3, see LICENSE
14
 *
15
 * @package LesserPhp
16
 */
17
18
class Ruleset extends Directive
19
{
20
    /**
21
     * @inheritdoc
22
     */
23
    public function getType()
24
    {
25
        // this deliberately returns null
26
        // the concept of a ruleset block does not exists, but it behaves like a directive without the directive type
27
        return null;
28
    }
29
}
30