@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | */ |
72 | 72 | public function getType() |
73 | 73 | { |
74 | - return _t(__CLASS__ . '.BlockType', 'Blog Posts'); |
|
74 | + return _t(__CLASS__.'.BlockType', 'Blog Posts'); |
|
75 | 75 | } |
76 | 76 | |
77 | 77 | /** |
@@ -79,7 +79,7 @@ discard block |
||
79 | 79 | */ |
80 | 80 | public function getCMSFields() |
81 | 81 | { |
82 | - $this->beforeUpdateCMSFields(function (FieldList $fields) { |
|
82 | + $this->beforeUpdateCMSFields(function(FieldList $fields) { |
|
83 | 83 | $fields->dataFieldByName('Content') |
84 | 84 | ->setRows(8); |
85 | 85 |