Failed Conditions
Push — psr2-config ( de33cd...0a5b05 )
by Andreas
04:27
created

SettingUndefined::shouldHaveDefault()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace dokuwiki\plugin\config\core\Setting;
4
5
/**
6
 * A do-nothing class used to detect settings with no metadata entry.
7
 * Used internaly to hide undefined settings, and generate the undefined settings list.
8
 */
9
class SettingUndefined extends SettingHidden {
10
11
    /** @inheritdoc */
12
    public function shouldHaveDefault() {
13
        return false;
14
    }
15
16
}
17