@@ -60,13 +60,13 @@ |
||
| 60 | 60 | protected function provideBlockSchema() |
| 61 | 61 | { |
| 62 | 62 | $blockSchema = parent::provideBlockSchema(); |
| 63 | - $blockSchema['content'] = $this->getSummary(); |
|
| 63 | + $blockSchema[ 'content' ] = $this->getSummary(); |
|
| 64 | 64 | return $blockSchema; |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | public function getSummary() |
| 68 | 68 | { |
| 69 | - return i18n::with_locale(Security::getCurrentUser()->Locale, function () { |
|
| 69 | + return i18n::with_locale(Security::getCurrentUser()->Locale, function() { |
|
| 70 | 70 | $template = SSViewer::get_templates_by_class(static::class, '_Summary'); |
| 71 | 71 | $summary = $this->renderWith($template); |
| 72 | 72 | return $summary->RAW(); |