Passed
Push — fix/redactorchieflinkslocale ( 6c2ca0 )
by
unknown
11:16
created
src/Sets/SetReference.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,8 +107,7 @@
 block discarded – undo
107 107
             }
108 108
 
109 109
             return $parameters;
110
-        }
111
-        catch(\Exception $e) {
110
+        } catch(\Exception $e) {
112 111
             if (config('thinktomorrow.chief.strict')) {
113 112
                 throw $e;
114 113
             }
Please login to merge, or discard this patch.
src/Sets/Set.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,9 @@
 block discarded – undo
108 108
 
109 109
     private function paginateSetting($key, $default = null)
110 110
     {
111
-        if(!isset($this->settings['paginate']) || !isset($this->settings['paginate'][$key])) return $default;
111
+        if(!isset($this->settings['paginate']) || !isset($this->settings['paginate'][$key])) {
112
+            return $default;
113
+        }
112 114
 
113 115
         return $this->settings['paginate'][$key];
114 116
     }
Please login to merge, or discard this patch.