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

Oauth2BaseActiveQuery::all()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 1
crap 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