Completed
Push — master ( 5b00d5...461aba )
by Sam
14s
created
code/Controllers/CMSMain.php 1 patch
Doc Comments   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -764,7 +764,7 @@  discard block
 block discarded – undo
764 764
 
765 765
 	/**
766 766
 	 * @param HTTPRequest $request
767
-	 * @return string HTML
767
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText HTML
768 768
 	 */
769 769
 	public function treeview($request) {
770 770
 		return $this->renderWith($this->getTemplatesWithSuffix('_TreeView'));
@@ -772,7 +772,7 @@  discard block
 block discarded – undo
772 772
 
773 773
 	/**
774 774
 	 * @param HTTPRequest $request
775
-	 * @return string HTML
775
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText HTML
776 776
 	 */
777 777
 	public function listview($request) {
778 778
 		return $this->renderWith($this->getTemplatesWithSuffix('_ListView'));
@@ -783,7 +783,7 @@  discard block
 block discarded – undo
783 783
 	 * Provides a slower but more precise response over SiteTreeHints
784 784
 	 *
785 785
 	 * @param HTTPRequest $request
786
-	 * @return HTTPResponse
786
+	 * @return \SS_HTTPResponse
787 787
 	 */
788 788
 	public function childfilter($request) {
789 789
 		// Check valid parent specified
@@ -963,7 +963,7 @@  discard block
 block discarded – undo
963 963
 	 *
964 964
 	 * @param array $data
965 965
 	 * @param Form $form
966
-	 * @return HTTPResponse
966
+	 * @return \SS_HTTPResponse|null
967 967
 	 * @throws HTTPResponse_Exception
968 968
 	 */
969 969
 	public function save($data, $form) {
@@ -1093,7 +1093,7 @@  discard block
 block discarded – undo
1093 1093
 	 * Actually perform the publication step
1094 1094
 	 *
1095 1095
 	 * @param Versioned|DataObject $record
1096
-	 * @return mixed
1096
+	 * @return \SS_HTTPResponse|null
1097 1097
 	 */
1098 1098
 	public function performPublish($record) {
1099 1099
 		if($record && !$record->canPublish()) {
@@ -1112,7 +1112,7 @@  discard block
 block discarded – undo
1112 1112
 	 *
1113 1113
 	 * @param array $data
1114 1114
 	 * @param Form $form
1115
-	 * @return HTTPResponse
1115
+	 * @return \SS_HTTPResponse|null
1116 1116
 	 * @throws HTTPResponse_Exception
1117 1117
 	 */
1118 1118
 	public function revert($data, $form) {
@@ -1162,7 +1162,7 @@  discard block
 block discarded – undo
1162 1162
 	 *
1163 1163
 	 * @param array $data
1164 1164
 	 * @param Form $form
1165
-	 * @return HTTPResponse
1165
+	 * @return \SS_HTTPResponse|null
1166 1166
 	 * @throws HTTPResponse_Exception
1167 1167
 	 */
1168 1168
 	public function delete($data, $form) {
@@ -1192,7 +1192,7 @@  discard block
 block discarded – undo
1192 1192
 	 *
1193 1193
 	 * @param array $data
1194 1194
 	 * @param Form $form
1195
-	 * @return HTTPResponse
1195
+	 * @return \SS_HTTPResponse|null
1196 1196
 	 * @throws HTTPResponse_Exception
1197 1197
 	 */
1198 1198
 	public function archive($data, $form) {
@@ -1247,7 +1247,7 @@  discard block
 block discarded – undo
1247 1247
 	}
1248 1248
 
1249 1249
 	/**
1250
-	 * @return HTTPResponse
1250
+	 * @return \SS_HTTPResponse|null
1251 1251
 	 */
1252 1252
 	public function rollback() {
1253 1253
 		return $this->doRollback(array(
@@ -1261,7 +1261,7 @@  discard block
 block discarded – undo
1261 1261
 	 *
1262 1262
 	 * @param array $data
1263 1263
 	 * @param Form $form
1264
-	 * @return HTTPResponse
1264
+	 * @return \SS_HTTPResponse|null
1265 1265
 	 */
1266 1266
 	public function doRollback($data, $form) {
1267 1267
 		$this->extend('onBeforeRollback', $data['ID']);
Please login to merge, or discard this patch.