Passed
Push — master ( 1d6f80...391225 )
by Rutger
12:45
created

Oauth2BaseActiveQuery   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getVia() 0 3 1
1
<?php
2
3
namespace rhertogh\Yii2Oauth2Server\models\queries\base;
4
5
use rhertogh\Yii2Oauth2Server\interfaces\models\queries\base\Oauth2BaseActiveQueryInterface;
6
use yii\db\ActiveQuery;
7
8
class Oauth2BaseActiveQuery extends ActiveQuery implements Oauth2BaseActiveQueryInterface
9
{
10
    /**
11
     * @inheritdoc
12
     */
13 19
    public function getVia()
14
    {
15 19
        return $this->via;
16
    }
17
}
18