Completed
Pull Request — master (#62)
by Jason
03:21
created
code/blocks/AccordionBlock.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -67,10 +67,10 @@
 block discarded – undo
67 67
     public function init()
68 68
     {
69 69
         $class = $this->AccordionClass();
70
-        Requirements::javascript(THIRDPARTY_DIR . '/jquery-ui/jquery-ui.js');
70
+        Requirements::javascript(THIRDPARTY_DIR.'/jquery-ui/jquery-ui.js');
71 71
         Requirements::customScript('
72 72
             $(function() {
73
-                $( ".' . $class . '" ).accordion({
73
+                $( ".' . $class.'" ).accordion({
74 74
                     header: ".accord-header",
75 75
                     collapsible: true, heightStyle: "content"
76 76
                 });
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     );
47 47
 
48 48
     /**
49
-     * @return FieldList
49
+     * @return \SilverStripe\Forms\FieldList
50 50
      */
51 51
     public function getCMSFields()
52 52
     {
Please login to merge, or discard this patch.
code/blocks/CustomerServiceBlock.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,9 +35,9 @@
 block discarded – undo
35 35
     {
36 36
         $fields = parent::getCMSFields();
37 37
 
38
-        $self =& $this;
38
+        $self = & $this;
39 39
 
40
-        $this->beforeUpdateCMSFields(function ($fields) use ($self) {
40
+        $this->beforeUpdateCMSFields(function($fields) use ($self) {
41 41
             $fields->dataFieldByName('Title')
42 42
                 ->setTitle('Name');
43 43
 
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     );
47 47
 
48 48
     /**
49
-     * @return FieldList
49
+     * @return \SilverStripe\Forms\FieldList
50 50
      */
51 51
     public function getCMSFields()
52 52
     {
Please login to merge, or discard this patch.
code/blocks/CallToActionBlock.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     ];
31 31
 
32 32
     /**
33
-     * @return FieldList
33
+     * @return \SilverStripe\Forms\FieldList
34 34
      */
35 35
     public function getCMSFields()
36 36
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function getCMSFields()
36 36
     {
37
-        $this->beforeUpdateCMSFields(function ($fields) {
37
+        $this->beforeUpdateCMSFields(function($fields) {
38 38
 
39 39
             /* // todo readd once Linkable is SS4 compatible
40 40
             $fields->addFieldToTab(
Please login to merge, or discard this patch.
code/blocks/EmbedCodeBlock.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     ];
40 40
 
41 41
     /**
42
-     * @return \FieldList
42
+     * @return \SilverStripe\Forms\FieldList
43 43
      */
44 44
     public function getCMSFields()
45 45
     {
Please login to merge, or discard this patch.
code/objects/PageSectionObject.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
     );
71 71
 
72 72
     /**
73
-     * @return FieldList
73
+     * @return \SilverStripe\Forms\FieldList
74 74
      */
75 75
     public function getCMSFields()
76 76
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
     }
103 103
 
104 104
     /**
105
-     * @return ValidationResult
105
+     * @return \SilverStripe\ORM\ValidationResult
106 106
      */
107 107
     public function validate()
108 108
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
      */
75 75
     public function getCMSFields()
76 76
     {
77
-        $this->beforeUpdateCMSFields(function ($fields) {
77
+        $this->beforeUpdateCMSFields(function($fields) {
78 78
 
79 79
             /*
80 80
             $fields->addFieldToTab(
Please login to merge, or discard this patch.
code/blocks/EmbedBlock.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * @return \SilverStripe\Forms\FieldList
34 34
      */
35
-    public function getCMSFields(){
35
+    public function getCMSFields() {
36 36
         $fields = parent::getCMSFields();
37 37
 
38 38
         $fields->removeByName([
Please login to merge, or discard this patch.
code/blocks/EmailSignupBlock.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
     ];
31 31
 
32 32
     /**
33
-     * @return FieldList
33
+     * @return \SilverStripe\Forms\FieldList
34 34
      */
35 35
     public function getCMSFields()
36 36
     {
Please login to merge, or discard this patch.
code/blocks/PromoBlock.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     );
47 47
 
48 48
     /**
49
-     * @return FieldList
49
+     * @return \SilverStripe\Forms\FieldList
50 50
      */
51 51
     public function getCMSFields()
52 52
     {
Please login to merge, or discard this patch.
code/objects/PromoObject.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      */
35 35
     public function getCMSFields()
36 36
     {
37
-        $this->beforeUpdateCMSFields(function ($fields) {
37
+        $this->beforeUpdateCMSFields(function($fields) {
38 38
 
39 39
             /* // todo readd once Linkable is SS4 compatible
40 40
             $fields->addFieldToTab(
Please login to merge, or discard this patch.