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

Ruleset::getType()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
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