Completed
Pull Request — 3.4 (#6299)
by Daniel
17:37 queued 08:44
created
admin/code/ModelAdmin.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -113,6 +113,9 @@  discard block
 block discarded – undo
113 113
 		Requirements::javascript(FRAMEWORK_ADMIN_DIR . '/javascript/ModelAdmin.js');
114 114
 	}
115 115
 
116
+	/**
117
+	 * @param string $action
118
+	 */
116 119
 	public function Link($action = null) {
117 120
 		if(!$action) $action = $this->sanitiseClassName($this->modelClass);
118 121
 		return parent::Link($action);
@@ -207,6 +210,9 @@  discard block
 block discarded – undo
207 210
 		return $form;
208 211
 	}
209 212
 
213
+	/**
214
+	 * @return GridFieldComponent
215
+	 */
210 216
 	public function getList() {
211 217
 		$context = $this->getSearchContext();
212 218
 		$params = $this->getRequest()->requestVar('q');
@@ -255,6 +261,7 @@  discard block
 block discarded – undo
255 261
 
256 262
 	/**
257 263
 	 * Unsanitise a model class' name from a URL param
264
+	 * @param string $class
258 265
 	 * @return string
259 266
 	 */
260 267
 	protected function unsanitiseClassName($class) {
Please login to merge, or discard this patch.