@@ -38,7 +38,7 @@ |
||
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; } |
@@ -23,7 +23,7 @@ discard block |
||
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 |
||
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 |
@@ -25,7 +25,7 @@ |
||
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 |
@@ -27,7 +27,9 @@ |
||
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 = [ |