Test Failed
Push — ft/fields-refactor ( 6b3c14...34e13a )
by Ben
43:36 queued 02:25
created
src/Settings/Settings.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
 
23 23
         if (is_array($this->items[$key])) {
24 24
 
25
-            if(!$locale) $locale = app()->getLocale();
25
+            if (!$locale) $locale = app()->getLocale();
26 26
 
27 27
             if ($this->items[$key] == null || !isset($this->items[$key][$locale])) {
28 28
                 return $default;
Please login to merge, or discard this patch.
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,9 @@
 block discarded – undo
22 22
 
23 23
         if (is_array($this->items[$key])) {
24 24
 
25
-            if(!$locale) $locale = app()->getLocale();
25
+            if(!$locale) {
26
+                $locale = app()->getLocale();
27
+            }
26 28
 
27 29
             if ($this->items[$key] == null || !isset($this->items[$key][$locale])) {
28 30
                 return $default;
Please login to merge, or discard this patch.