Completed
Push — master ( 80a8c8...2f2de9 )
by Loban
03:46
created
src/LocaleHelperTrait.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
             return call_user_func($this->primaryLanguage, $locale);
28 28
         }
29 29
         return extension_loaded('intl') ?
30
-            Locale::getPrimaryLanguage($locale) :
31
-            substr($locale, 0, 2);
30
+            Locale::getPrimaryLanguage($locale) : substr($locale, 0, 2);
32 31
     }
33 32
 }
34 33
\ No newline at end of file
Please login to merge, or discard this patch.