Completed
Push — master ( 9b78f7...5dcb4f )
by Andreas
08:15 queued 03:39
created

Revisions   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace dokuwiki\Menu\Item;
4
5
/**
6
 * Class Revisions
7
 *
8
 * Access the old revisions of the current page
9
 */
10
class Revisions extends AbstractItem {
11
12
    /** @inheritdoc */
13
    public function __construct() {
14
        parent::__construct();
15
16
        $this->accesskey = 'o';
17
        $this->type = 'revs';
18
        $this->svg = DOKU_INC . 'lib/images/menu/07-revisions_history.svg';
19
    }
20
21
}
22