Passed
Push — master ( 338501...d685f8 )
by Simon
14:58 queued 13:05
created

TestIndexThree   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 3
c 1
b 0
f 0
dl 0
loc 10
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
A getIndexName() 0 3 1
1
<?php
2
3
4
namespace Firesphere\SolrSearch\Tests;
5
6
use Firesphere\SolrSearch\Indexes\BaseIndex;
7
use SilverStripe\Dev\TestOnly;
8
9
class TestIndexThree extends BaseIndex implements TestOnly
10
{
11
    public function init()
12
    {
13
        return;
14
    }
15
16
    public function getIndexName()
17
    {
18
        return 'TestIndexThree';
19
    }
20
}
21