Passed
Push — master ( 9cf181...0135fb )
by Gordon
05:12 queued 02:38
created

IndexCreator::getIndexName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php declare(strict_types = 1);
2
3
namespace Suilven\FreeTextSearch\Tests\Mock;
4
5
// @phpcs:disable SlevomatCodingStandard.Functions.UnusedParameter.UnusedParameter
6
class IndexCreator extends \Suilven\FreeTextSearch\Base\IndexCreator implements
7
    \Suilven\FreeTextSearch\Interfaces\IndexCreator
8
{
9
10
    /** @var string */
11
    private static $indexName;
12
13
    public function createIndex(string $indexName): void
14
    {
15
        parent::createIndex($indexName);
16
    }
17
18
19
    public static function getIndexName(): string
20
    {
21
        return self::$indexName;
22
    }
23
}
24