Completed
Push — master ( a8d5f1...edd0cb )
by Jason
02:59
created
src/Elements/ElementBlogPosts.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function getType()
85 85
     {
86
-        return _t(__CLASS__ . '.BlockType', 'Blog Posts');
86
+        return _t(__CLASS__.'.BlockType', 'Blog Posts');
87 87
     }
88 88
 
89 89
     /**
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      */
92 92
     public function getCMSFields()
93 93
     {
94
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
94
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
95 95
             $fields->dataFieldByName('Content')
96 96
                 ->setRows(8);
97 97
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
                     'Limit'
106 106
                 );
107 107
 
108
-                $dataSource = function ($val) {
108
+                $dataSource = function($val) {
109 109
                     if ($val) {
110 110
                         return Blog::get()->byID($val)->Categories()->map('ID', 'Title');
111 111
                     }
Please login to merge, or discard this patch.