Completed
Push — master ( 02f92d...9c9507 )
by Sebastian
15:38
created

TranslatableUpdater::performUpdate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
namespace App\Foundation\Models\Updaters;
4
5
class TranslatableUpdater extends Updater
6
{
7
    use UpdatesTranslations;
8
9
    /**
10
     * @return \Illuminate\Database\Eloquent\Model
11
     */
12
    public function performUpdate()
13
    {
14
        $this->updateTranslations();
15
16
        return $this->model;
17
    }
18
}
19