Completed
Push — v0.10 ( f42b97...309689 )
by Simonas
8s
created

AvgAggregation   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getType() 0 4 1
1
<?php
2
3
/*
4
 * This file is part of the ONGR package.
5
 *
6
 * (c) NFQ Technologies UAB <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace ONGR\ElasticsearchBundle\DSL\Aggregation;
13
14
/**
15
 * Class representing Avg Aggregation.
16
 */
17
class AvgAggregation extends StatsAggregation
18
{
19
    /**
20
     * {@inheritdoc}
21
     */
22
    public function getType()
23
    {
24
        return 'avg';
25
    }
26
}
27