GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

GlHtmlSummary   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 3
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 32
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
A getNode() 0 3 1
A getLevel() 0 3 1
1
<?php
2
/**
3
 * Extend \DomNode
4
 *
5
 * PHP version 5.4
6
 *
7
 * @category  GLICER
8
 * @package   GlHtml
9
 * @author    Emmanuel ROECKER
10
 * @author    Rym BOUCHAGOUR
11
 * @copyright 2015 GLICER
12
 * @license   MIT
13
 * @link      http://dev.glicer.com/
14
 *
15
 * Created : 20/02/15
16
 * File : GlHtmlSummary.php
17
 *
18
 */
19
20
namespace GlHtml;
21
22
/**
23
 * Class GlHtmlSummary
24
 * @package GlHtml
25
 */
26
class GlHtmlSummary {
27
28
    /**
29
     * @var int
30
     */
31
    private $level;
32
33
    /**
34
     * @var GlHtmlNode
35
     */
36
    private $node;
37
38
    public function __construct(GlHtmlNode $node,$level) {
39
        $this->node = $node;
40
        $this->level = $level;
41
    }
42
43
    /**
44
     * @return GlHtmlNode
45
     */
46
    public function getNode() {
47
        return $this->node;
48
    }
49
50
    /**
51
     * @return int
52
     */
53
    public function getLevel() {
54
        return $this->level;
55
    }
56
57
}
58