Test Setup Failed
Push — dependabot/composer/thinktomor... ( e86b85...256c6d )
by
unknown
67:00 queued 59:01
created
src/PageBuilder/PresentSections.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 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()) continue;
74 74
 
75 75
             if ($child instanceof StoredSetReference) {
76 76
                 $this->addSetToCollection($i, $child->toSet($this->parent));
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
             $this->addModelToCollection($i, $child);
96 96
         }
97 97
 
98
-        return $this->sets->values()->map(function (ViewableContract $child) {
98
+        return $this->sets->values()->map(function(ViewableContract $child) {
99 99
             return ($this->withSnippets && method_exists($child, 'withSnippets'))
100 100
                 ? $child->withSnippets()->setViewParent($this->parent)->renderView()
101 101
                 : $child->setViewParent($this->parent)->renderView();
Please login to merge, or discard this patch.
src/Management/ManagesPagebuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 
50 50
         $availableChildren = AvailableChildren::forParent($model);
51 51
 
52
-        $modules = $availableChildren->onlyModules()->reject(function ($module) use ($model) {
52
+        $modules = $availableChildren->onlyModules()->reject(function($module) use ($model) {
53 53
             return $module->owner_id != null && $module->owner_id != $model->id;
54 54
         });
55 55
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
         $available_sets = FlatReferencePresenter::toGroupedSelectValues($availableChildren->onlySets())->toArray();
59 59
 
60 60
         // Current sections
61
-        $sections = $model->children()->map(function ($section, $index) use($model) {
61
+        $sections = $model->children()->map(function($section, $index) use($model) {
62 62
             if ($section instanceof TranslatableContract) {
63 63
                 $section->injectTranslationForForm();
64 64
             }
Please login to merge, or discard this patch.