Passed
Push — master ( 40a703...58c7e8 )
by Vasyl
02:26
created
src/UrlAliasLocalization.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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;
Please login to merge, or discard this patch.