@@ -51,10 +51,10 @@ |
||
| 51 | 51 | */ |
| 52 | 52 | public function events() |
| 53 | 53 | { |
| 54 | - $beforeDelete = function () { |
|
| 54 | + $beforeDelete = function() { |
|
| 55 | 55 | $this->owner->unlinkAll($this->translateRelation, true); |
| 56 | 56 | }; |
| 57 | - $afterSave = function () { |
|
| 57 | + $afterSave = function() { |
|
| 58 | 58 | $this->owner->link('currentTranslate', $this->getTranslation()); |
| 59 | 59 | }; |
| 60 | 60 | return [ |