Passed
Push — master ( 59f525...a4e0f3 )
by Vasyl
02:06
created
src/VariableManager.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -55,17 +55,17 @@
 block discarded – undo
55 55
         }
56 56
 
57 57
         if ($collection = $this->getCollection()) {
58
-           if ($var = $collection
59
-               ->where('key', $key)
60
-               ->whereIn('locale', [$this->locale, null])
61
-               //->orWhere('locale', null)
62
-               ->first()) {
63
-
64
-               return $var->value;
65
-           }
66
-       }
58
+            if ($var = $collection
59
+                ->where('key', $key)
60
+                ->whereIn('locale', [$this->locale, null])
61
+                //->orWhere('locale', null)
62
+                ->first()) {
63
+
64
+                return $var->value;
65
+            }
66
+        }
67 67
        
68
-       return $default;
68
+        return $default;
69 69
     }
70 70
 
71 71
     public function set(string $key, $value = null, $locale = null)
Please login to merge, or discard this patch.