Failed Conditions
Pull Request — psr2 (#2382)
by Andreas
08:02 queued 12s
created

SettingFieldset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A shouldHaveDefault() 0 3 1
1
<?php
2
3
namespace dokuwiki\plugin\config\core\Setting;
4
5
/**
6
 * A do-nothing class used to detect the 'fieldset' type.
7
 *
8
 * Used to start a new settings "display-group".
9
 */
10
class SettingFieldset extends Setting {
11
12
    /** @inheritdoc */
13
    public function shouldHaveDefault() {
14
        return false;
15
    }
16
17
}
18