@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | public function __construct($app) |
26 | 26 | { |
27 | 27 | if (!$app) { |
28 | - $app = app(); //Fallback when $app is not given |
|
28 | + $app = app(); //Fallback when $app is not given |
|
29 | 29 | } |
30 | 30 | $this->app = $app; |
31 | 31 | |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | foreach ($this->supportedLocales as $key => $item) { |
111 | 111 | if ($model = $aliasModels->where('locale', $key)->first()) { |
112 | 112 | $link = $model->localeAlias; |
113 | - } elseif($default) { |
|
113 | + } elseif ($default) { |
|
114 | 114 | $link = $default; |
115 | 115 | } else { |
116 | 116 | $link = $key; |