CreditAssignment   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 16
rs 10
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A processClass() 0 3 1
A tableName() 0 3 1
1
<?php
2
3
namespace app\models;
4
5
class CreditAssignment extends \roaresearch\yii2\workflow\models\Assignment
6
{
7
    /**
8
     * @inheritdoc
9
     */
10
    public static function tableName()
11
    {
12
        return '{{%credit_assignment}}';
13
    }
14
 
15
    /**
16
     * @inheritdoc
17
     */
18
    protected function processClass(): string
19
    {
20
        return Credit::class;
21
    }
22
}
23