Completed
Push — master ( aa171f...bbd81d )
by Will
04:26 queued 04:20
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/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
     protected function log($message)
200 203
     {
201 204
         if ($this->getQuiet()) {
Please login to merge, or discard this patch.
tests/UserDefinedFormControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -218,6 +218,9 @@
 block discarded – undo
218 218
         return $form;
219 219
     }
220 220
 
221
+    /**
222
+     * @param CSSContentParser $parser
223
+     */
221 224
     public function checkTemplateIsCorrect($parser)
222 225
     {
223 226
         $this->assertArrayHasKey(0, $parser->getBySelector('form#UserForm_Form'));
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
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 	 * Return whether a user can create an object of this type
59 59
 	 *
60 60
      * @param Member $member
61
-     * @param array $context Virtual parameter to allow context to be passed in to check
62 61
 	 * @return bool
63 62
 	 */
64 63
 	public function canCreate($member = null) {
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
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 	 * Return whether a user can create an object of this type
59 59
 	 *
60 60
      * @param Member $member
61
-     * @param array $context Virtual parameter to allow context to be passed in to check
62 61
 	 * @return bool
63 62
 	 */
64 63
 	public function canCreate($member = null) {
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
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 	 * Return whether a user can create an object of this type
59 59
 	 *
60 60
      * @param Member $member
61
-     * @param array $context Virtual parameter to allow context to be passed in to check
62 61
 	 * @return bool
63 62
 	 */
64 63
 	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
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 	 * Return whether a user can create an object of this type
59 59
 	 *
60 60
      * @param Member $member
61
-     * @param array $context Virtual parameter to allow context to be passed in to check
62 61
 	 * @return bool
63 62
 	 */
64 63
 	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
@@ -58,7 +58,6 @@
 block discarded – undo
58 58
 	 * Return whether a user can create an object of this type
59 59
 	 *
60 60
      * @param Member $member
61
-     * @param array $context Virtual parameter to allow context to be passed in to check
62 61
 	 * @return bool
63 62
 	 */
64 63
 	public function canCreate($member = null) {
Please login to merge, or discard this patch.