Passed
Push — master ( 1499e4...09e49e )
by Philipp
07:14 queued 05:00
created
src/Tongue.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function current($key = null): string
46 46
     {
47
-        if (! $key) {
47
+        if (!$key) {
48 48
             return $this->locale->get();
49 49
         }
50 50
 
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
         //fallback language is the same as the current language
90 90
         if (Config::beautify() && $this->current() === Config::fallbackLocale()) {
91 91
             //didn't found locale means browser is set to exmaple.com
92
-            if (! $locale) {
92
+            if (!$locale) {
93 93
                 return false;
94 94
             }
95 95
             //browser is set to en.example.com but should be forced back to example.com
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
      */
112 112
     public function speaks(string $locale)
113 113
     {
114
-        if (! $this->isSpeaking($locale)) {
114
+        if (!$this->isSpeaking($locale)) {
115 115
             //locale does not exist.
116 116
             return dialect()->redirectBackToDefault();
117 117
         }
Please login to merge, or discard this patch.