Completed
Pull Request — master (#1350)
by
unknown
02:44
created
src/Form/Field/Editor.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function direction($dir ='ltr')
40 40
     {
41
-         $this->options(['contentsLangDirection' => $dir]);
41
+            $this->options(['contentsLangDirection' => $dir]);
42 42
         $this->direction = $dir;
43 43
 
44 44
         return $this;    }
Please login to merge, or discard this patch.
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
         $this->options(['contentsLangDirection' => 'ltr']);
24 24
         $this->options(['language' => config('app.locale', 'en')]);
25 25
         //for jquery validation
26
-        $this->addElementClass(['validate','ckeditor']);
26
+        $this->addElementClass(['validate', 'ckeditor']);
27 27
 
28 28
     }
29 29
 
@@ -36,12 +36,12 @@  discard block
 block discarded – undo
36 36
      * @param string $dir
37 37
      * @return $this
38 38
      */
39
-    public function direction($dir ='ltr')
39
+    public function direction($dir = 'ltr')
40 40
     {
41 41
          $this->options(['contentsLangDirection' => $dir]);
42 42
         $this->direction = $dir;
43 43
 
44
-        return $this;    }
44
+        return $this; }
45 45
 
46 46
     /**
47 47
      * set language for editor
Please login to merge, or discard this patch.
src/Widgets/InfoBox.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
      * @param string $link
26 26
      * @param string $info
27 27
      */
28
-    public function __construct($name, $icon, $color, $link, $info, $more_text =null )
28
+    public function __construct($name, $icon, $color, $link, $info, $more_text = null)
29 29
     {
30 30
         if ($more_text == null) $more_text = trans('admin.more');
31 31
 
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,9 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct($name, $icon, $color, $link, $info, $more_text =null )
29 29
     {
30
-        if ($more_text == null) $more_text = trans('admin.more');
30
+        if ($more_text == null) {
31
+            $more_text = trans('admin.more');
32
+        }
31 33
 
32 34
 
33 35
         $this->data = [
Please login to merge, or discard this patch.