Completed
Push — master ( 38078c...bdabf3 )
by Loban
04:23
created
src/TranslatedBehavior.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @link https://github.com/LAV45/yii2-translated-behavior
4
- * @copyright Copyright (c) 2015 LAV45!
5
- * @author Alexey Loban <[email protected]>
6
- * @license http://opensource.org/licenses/BSD-3-Clause
7
- */
3
+     * @link https://github.com/LAV45/yii2-translated-behavior
4
+     * @copyright Copyright (c) 2015 LAV45!
5
+     * @author Alexey Loban <[email protected]>
6
+     * @license http://opensource.org/licenses/BSD-3-Clause
7
+     */
8 8
 
9 9
 namespace lav45\translate;
10 10
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,10 +51,10 @@
 block discarded – undo
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 [
Please login to merge, or discard this patch.