Completed
Pull Request — master (#1435)
by Damian
08:30
created
code/controllers/CMSMain.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
 
662 662
 	/**
663 663
 	 * @param SS_HTTPRequest $request
664
-	 * @return string HTML
664
+	 * @return SilverStripe\Model\FieldType\DBField HTML
665 665
 	 */
666 666
 	public function treeview($request) {
667 667
 		return $this->renderWith($this->getTemplatesWithSuffix('_TreeView'));
@@ -669,7 +669,7 @@  discard block
 block discarded – undo
669 669
 
670 670
 	/**
671 671
 	 * @param SS_HTTPRequest $request
672
-	 * @return string HTML
672
+	 * @return SilverStripe\Model\FieldType\DBField HTML
673 673
 	 */
674 674
 	public function listview($request) {
675 675
 		return $this->renderWith($this->getTemplatesWithSuffix('_ListView'));
@@ -982,7 +982,7 @@  discard block
 block discarded – undo
982 982
 	 * Actually perform the publication step
983 983
 	 *
984 984
 	 * @param Versioned|DataObject $record
985
-	 * @return mixed
985
+	 * @return SS_HTTPResponse|null
986 986
 	 */
987 987
 	public function performPublish($record) {
988 988
 		if($record && !$record->canPublish()) {
@@ -1136,7 +1136,7 @@  discard block
 block discarded – undo
1136 1136
 	}
1137 1137
 
1138 1138
 	/**
1139
-	 * @return array
1139
+	 * @return SS_HTTPResponse|null
1140 1140
 	 */
1141 1141
 	public function rollback() {
1142 1142
 		return $this->doRollback(array(
Please login to merge, or discard this patch.
code/model/SiteTree.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -661,7 +661,7 @@  discard block
 block discarded – undo
661 661
 	 * @param boolean $unlinked Whether to link page titles.
662 662
 	 * @param boolean|string $stopAtPageType ClassName of a page to stop the upwards traversal.
663 663
 	 * @param boolean $showHidden Include pages marked with the attribute ShowInMenus = 0
664
-	 * @return HTMLText The breadcrumb trail.
664
+	 * @return SilverStripe\Model\FieldType\DBField The breadcrumb trail.
665 665
 	 */
666 666
 	public function Breadcrumbs($maxDepth = 20, $unlinked = false, $stopAtPageType = false, $showHidden = false) {
667 667
 		$pages = $this->getBreadcrumbItems($maxDepth, $stopAtPageType, $showHidden);
@@ -1198,7 +1198,7 @@  discard block
 block discarded – undo
1198 1198
 	/**
1199 1199
 	 * Get the 'can edit' information for a number of SiteTree pages.
1200 1200
 	 *
1201
-	 * @param array $ids       An array of IDs of the SiteTree pages to look up
1201
+	 * @param integer[] $ids       An array of IDs of the SiteTree pages to look up
1202 1202
 	 * @param int   $memberID  ID of member
1203 1203
 	 * @param bool  $useCached Return values from the permission cache if they exist
1204 1204
 	 * @return array
@@ -1271,7 +1271,7 @@  discard block
 block discarded – undo
1271 1271
 	 *
1272 1272
 	 * @param string $condition The PHP condition to be evaluated. The page will be called $item
1273 1273
 	 * @param array  $collator  An array, passed by reference, to collect all of the matching descendants.
1274
-	 * @return bool
1274
+	 * @return boolean|null
1275 1275
 	 */
1276 1276
 	public function collateDescendants($condition, &$collator) {
1277 1277
 		if($children = $this->Children()) {
Please login to merge, or discard this patch.