Test Setup Failed
Push — dependabot/composer/thinktomor... ( e86b85...256c6d )
by
unknown
67:00 queued 59:01
created
src/States/Publishable/PreviewMode.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,9 @@
 block discarded – undo
40 40
     {
41 41
         $mode = config('chief.preview-mode');
42 42
 
43
-        if(!$mode || $mode == 'live') return false;
43
+        if(!$mode || $mode == 'live') {
44
+            return false;
45
+        }
44 46
 
45 47
         return ($mode == 'preview');
46 48
     }
Please login to merge, or discard this patch.
src/PageBuilder/PresentSections.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,9 @@
 block discarded – undo
70 70
         foreach ($this->children as $i => $child) {
71 71
 
72 72
             // Do not render offline relations
73
-            if($child->relation->isOffline()) continue;
73
+            if($child->relation->isOffline()) {
74
+                continue;
75
+            }
74 76
 
75 77
             if ($child instanceof StoredSetReference) {
76 78
                 $this->addSetToCollection($i, $child->toSet($this->parent));
Please login to merge, or discard this patch.