Completed
Push — master ( 3e3f4a...b782f7 )
by Scott
8s
created
code/forms/GridFieldAddClassesButton.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
 	 * Sets the fragment name this button is rendered into.
78 78
 	 *
79 79
 	 * @param string $fragment
80
-	 * @return GridFieldAddNewInlineButton $this
80
+	 * @return GridFieldAddClassesButton $this
81 81
 	 */
82 82
 	public function setFragment($fragment) {
83 83
 		$this->targetFragment = $fragment;
@@ -118,7 +118,7 @@  discard block
 block discarded – undo
118 118
 	 * Gets the list of classes which can be created, with checks for permissions.
119 119
 	 * Will fallback to the default model class for the given DataGrid
120 120
 	 *
121
-	 * @param DataGrid $grid
121
+	 * @param GridField $grid
122 122
 	 * @return array
123 123
 	 */
124 124
 	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
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
 	 * Migrate a versioned field in a single stage
47 47
 	 *
48 48
 	 * @param EditableFormField $field
49
-	 * @param stage $stage
49
+	 * @param string $stage
50 50
 	 */
51 51
 	protected function upgradeFieldInStage(EditableFormField $field, $stage) {
52 52
 		Versioned::reading_stage($stage);
@@ -189,6 +189,9 @@  discard block
 block discarded – undo
189 189
 		return $rule;
190 190
 	}
191 191
 
192
+	/**
193
+	 * @param string $message
194
+	 */
192 195
 	protected function log($message) {
193 196
 		if($this->getQuiet()) {
194 197
 			return;
Please login to merge, or discard this patch.
tests/UserDefinedFormControllerTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -208,6 +208,9 @@
 block discarded – undo
208 208
 		return $form;
209 209
 	}
210 210
 
211
+	/**
212
+	 * @param CSSContentParser $parser
213
+	 */
211 214
 	function checkTemplateIsCorrect($parser) {
212 215
 		$this->assertArrayHasKey(0, $parser->getBySelector('form#UserForm_Form'));
213 216
 
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.