Total Complexity | 4 |
Total Lines | 25 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | trait NextUpdateCalculator |
||
15 | { |
||
16 | /** |
||
17 | * If true, then will be automatically calculate from invalidation_count. |
||
18 | * |
||
19 | * @param \app\models\Account|\app\models\Tag|ActiveRecord $model |
||
20 | * @param int $interval |
||
21 | * @return null|\yii\db\Expression |
||
22 | */ |
||
23 | protected function getNextUpdateDate(ActiveRecord $model, $interval = null) |
||
39 | } |
||
40 | } |