@@ -83,7 +83,7 @@ discard block |
||
| 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 |
||
| 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 |