| Total Complexity | 4 | 
| Total Lines | 25 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 14 | trait NextUpdateCalculatorTrait  | 
            ||
| 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 \yii\db\Expression|null  | 
            ||
| 22 | */  | 
            ||
| 23 | protected function getNextUpdateDate(ActiveRecord $model, $interval = null)  | 
            ||
| 39 | }  | 
            ||
| 40 | }  |