Completed
Push — master ( cb1f23...1df51a )
by Philipp
02:38
created
src/Tongue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
      */
44 44
     public function current($key = null)
45 45
     {
46
-        if (! $key) {
46
+        if (!$key) {
47 47
             return $this->locale->get();
48 48
         }
49 49
 
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
         //fallback language is the same as the current language
89 89
         if (Config::beautify() && $this->current() === Config::fallbackLocale()) {
90 90
             //didn't found locale means browser is set to exmaple.com
91
-            if (! $locale) {
91
+            if (!$locale) {
92 92
                 return false;
93 93
             }
94 94
             //browser is set to en.example.com but should be forced back to example.com
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
      */
111 111
     public function speaks(string $locale)
112 112
     {
113
-        if (! $this->isSpeaking($locale)) {
113
+        if (!$this->isSpeaking($locale)) {
114 114
             //locale does not exist.
115 115
             return dialect()->redirectBackToLatest();
116 116
         }
Please login to merge, or discard this patch.
src/Localization/Locale.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@
 block discarded – undo
75 75
         $regional = tongue()->speaking('regional', $locale);
76 76
 
77 77
         if ($regional && is_string($regional)) {
78
-            setlocale(LC_TIME, $regional . '.UTF-8');
79
-            setlocale(LC_MONETARY, $regional . '.UTF-8');
78
+            setlocale(LC_TIME, $regional.'.UTF-8');
79
+            setlocale(LC_MONETARY, $regional.'.UTF-8');
80 80
         }
81 81
     }
82 82
 
Please login to merge, or discard this patch.