Completed
Push — master ( 0c41f9...90818c )
by Nic
16s queued 12s
created
src/Model/RecipeDirection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
      */
49 49
     public function getCMSFields()
50 50
     {
51
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
51
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
52 52
             $recipe = $fields->dataFieldByName('RecipeID');
53 53
             $fields->replaceField('RecipeID', $recipe->performReadonlyTransformation());
54 54
 
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * @param array $context
83 83
      * @return bool
84 84
      */
85
-    public function canCreate($member = null, $context = [])
85
+    public function canCreate($member = null, $context = [ ])
86 86
     {
87 87
         return true;
88 88
     }
Please login to merge, or discard this patch.
src/Model/RecipeIngredient.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     public function getCMSFields()
65 65
     {
66
-        $this->beforeUpdateCMSFields(function (FieldList $fields) {
66
+        $this->beforeUpdateCMSFields(function(FieldList $fields) {
67 67
             $recipe = $fields->dataFieldByName('RecipeID');
68 68
             $fields->replaceField('RecipeID', $recipe->performReadonlyTransformation());
69 69
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
      * @param array $context
92 92
      * @return bool
93 93
      */
94
-    public function canCreate($member = null, $context = [])
94
+    public function canCreate($member = null, $context = [ ])
95 95
     {
96 96
         return true;
97 97
     }
Please login to merge, or discard this patch.