Completed
Push — master ( 2357ce...f9bf40 )
by Robbie
43:41 queued 08:38
created
code/forms/GridFieldAddClassesButton.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      * Sets the fragment name this button is rendered into.
83 83
      *
84 84
      * @param string $fragment
85
-     * @return GridFieldAddNewInlineButton $this
85
+     * @return GridFieldAddClassesButton $this
86 86
      */
87 87
     public function setFragment($fragment)
88 88
     {
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      * Gets the list of classes which can be created, with checks for permissions.
128 128
      * Will fallback to the default model class for the given DataGrid
129 129
      *
130
-     * @param DataGrid $grid
130
+     * @param GridField $grid
131 131
      * @return array
132 132
      */
133 133
     public function getClassesCreate($grid)
Please login to merge, or discard this patch.
code/model/EditableCustomRule.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@
 block discarded – undo
94 94
      * Return whether a user can create an object of this type
95 95
      *
96 96
      * @param Member $member
97
-     * @param array $context Virtual parameter to allow context to be passed in to check
98 97
      * @return bool
99 98
      */
100 99
     public function canCreate($member = null)
Please login to merge, or discard this patch.
code/model/editableformfields/EditableOption.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@
 block discarded – undo
93 93
 	 * Return whether a user can create an object of this type
94 94
 	 *
95 95
      * @param Member $member
96
-     * @param array $context Virtual parameter to allow context to be passed in to check
97 96
 	 * @return bool
98 97
 	 */
99 98
     public function canCreate($member = null)
Please login to merge, or discard this patch.
code/tasks/UserFormsUpgradeService.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      * Migrate a versioned field in a single stage
50 50
      *
51 51
      * @param EditableFormField $field
52
-     * @param stage $stage
52
+     * @param string $stage
53 53
      */
54 54
     protected function upgradeFieldInStage(EditableFormField $field, $stage)
55 55
     {
@@ -196,6 +196,9 @@  discard block
 block discarded – undo
196 196
         return $rule;
197 197
     }
198 198
 
199
+    /**
200
+     * @param string $message
201
+     */
199 202
     public function log($message)
200 203
     {
201 204
         if ($this->getQuiet()) {
Please login to merge, or discard this patch.
code/model/editableformfields/EditableFormField.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@
 block discarded – undo
94 94
      * Return whether a user can create an object of this type
95 95
      *
96 96
      * @param Member $member
97
-     * @param array $context Virtual parameter to allow context to be passed in to check
98 97
      * @return bool
99 98
      */
100 99
     public function canCreate($member = null)
Please login to merge, or discard this patch.
code/model/recipients/UserDefinedForm_EmailRecipient.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@
 block discarded – undo
94 94
      * Return whether a user can create an object of this type
95 95
      *
96 96
      * @param Member $member
97
-     * @param array $context Virtual parameter to allow context to be passed in to check
98 97
      * @return bool
99 98
      */
100 99
     public function canCreate($member = null)
Please login to merge, or discard this patch.
code/model/recipients/UserDefinedForm_EmailRecipientCondition.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@
 block discarded – undo
94 94
      * Return whether a user can create an object of this type
95 95
      *
96 96
      * @param Member $member
97
-     * @param array $context Virtual parameter to allow context to be passed in to check
98 97
      * @return bool
99 98
      */
100 99
     public function canCreate($member = null)
Please login to merge, or discard this patch.
tests/UserDefinedFormControllerTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -259,6 +259,10 @@
 block discarded – undo
259 259
         return $form;
260 260
     }
261 261
 
262
+    /**
263
+     * @param CSSContentParser $parser
264
+     * @param UserDefinedForm|null $form
265
+     */
262 266
     public function checkTemplateIsCorrect($parser, $form)
263 267
     {
264 268
         $this->assertArrayHasKey(0, $parser->getBySelector('form#UserForm_Form_' . $form->ID));
Please login to merge, or discard this patch.
code/model/editableformfields/EditableFileField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     }
141 141
 
142 142
     /**
143
-     * @return float
143
+     * @return integer
144 144
      */
145 145
     public static function get_php_max_file_size()
146 146
     {
Please login to merge, or discard this patch.