x Sorry, these patches are not available anymore due to data migration. Please run a fresh inspection.
Test Setup Failed
Push — master ( bf8bab...84252e )
by
unknown
01:10 queued 11s
created
src/Charcoal/Cms/Support/Traits/SectionLoaderAwareTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function routes()
85 85
     {
86
-        return function ($arg) {
86
+        return function($arg) {
87 87
             return $this->sectionLoader()->resolveRoute($arg);
88 88
         };
89 89
     }
@@ -185,10 +185,10 @@  discard block
 block discarded – undo
185 185
         $documents = $section->getAttachments('document');
186 186
 
187 187
         return [
188
-            'title'         => (string)$section->title(),
189
-            'summary'       => (string)$section->summary(),
190
-            'image'         => (string)$section->image(),
191
-            'content'       => (string)$section->content(),
188
+            'title'         => (string) $section->title(),
189
+            'summary'       => (string) $section->summary(),
190
+            'image'         => (string) $section->image(),
191
+            'content'       => (string) $section->content(),
192 192
             'contentBlocks' => $contentBlocks,
193 193
             'gallery'       => $gallery,
194 194
             'documents'     => $documents
Please login to merge, or discard this patch.