Passed
Push — 4.1.1 ( 01ed8a )
by Robbie
09:45
created

PublicThemes::getThemes()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 2
eloc 1
nc 2
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace SilverStripe\View;
4
5
class PublicThemes implements ThemeList
6
{
7
    public function getThemes()
8
    {
9
        return PUBLIC_DIR ? ['/' . PUBLIC_DIR] : [];
10
    }
11
}
12