Passed
Pull Request — release-11.5.x (#3206)
by Michael
40:59 queued 01:38
created

Query   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
c 2
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __toString() 0 3 1
1
<?php
2
3
/*
4
 * This file is part of the TYPO3 CMS project.
5
 *
6
 * It is free software; you can redistribute it and/or modify it under
7
 * the terms of the GNU General Public License, either version 2
8
 * of the License, or any later version.
9
 *
10
 * For the full copyright and license information, please read the
11
 * LICENSE.txt file that was distributed with this source code.
12
 *
13
 * The TYPO3 project - inspiring people to share!
14
 */
15
16
namespace ApacheSolrForTypo3\Solr\Domain\Search\Query;
17
18
use Solarium\QueryType\Select\Query\Query as SolariumQuery;
19
20
class Query extends SolariumQuery
21
{
22
    /**
23
     * @return string
24
     */
25 2
    public function __toString()
26
    {
27 2
        return $this->getQuery();
28
    }
29
}
30