Passed
Push — master ( 7dcb2c...27a2d0 )
by Daniel
11:00 queued 01:58
created

PublicThemes   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A getThemes() 0 3 2
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