Completed
Push — master ( fdcc3f...9493d9 )
by Daniel
13s
created
code/Model/ErrorPage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,7 @@
 block discarded – undo
252 252
 	/**
253 253
 	 * Write out the published version of the page to the filesystem
254 254
 	 *
255
-	 * @return true if the page write was successful
255
+	 * @return boolean if the page write was successful
256 256
 	 */
257 257
 	public function writeStaticPage() {
258 258
 		if(!self::config()->enable_static_file) {
Please login to merge, or discard this patch.
code/Model/VirtualPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -341,6 +341,9 @@
 block discarded – undo
341 341
 		}
342 342
 	}
343 343
 
344
+	/**
345
+	 * @param string $field
346
+	 */
344 347
 	public function getField($field) {
345 348
 		if($this->isFieldVirtualised($field)) {
346 349
 			return $this->CopyContentFrom()->getField($field);
Please login to merge, or discard this patch.
code/Controllers/CMSMain.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1045,7 +1045,7 @@  discard block
 block discarded – undo
1045 1045
 	 *
1046 1046
 	 * @param int|string $id
1047 1047
 	 * @param bool $setID
1048
-	 * @return mixed|DataObject
1048
+	 * @return SiteTree
1049 1049
 	 * @throws SS_HTTPResponse_Exception
1050 1050
 	 */
1051 1051
 	public function getNewItem($id, $setID = true) {
@@ -1100,7 +1100,7 @@  discard block
 block discarded – undo
1100 1100
 	 * Actually perform the publication step
1101 1101
 	 *
1102 1102
 	 * @param Versioned|DataObject $record
1103
-	 * @return mixed
1103
+	 * @return SS_HTTPResponse|null
1104 1104
 	 */
1105 1105
 	public function performPublish($record) {
1106 1106
 		if($record && !$record->canPublish()) {
Please login to merge, or discard this patch.
code/Model/SiteTree.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -753,7 +753,7 @@
 block discarded – undo
753 753
 	 * @param boolean $unlinked Whether to link page titles.
754 754
 	 * @param boolean|string $stopAtPageType ClassName of a page to stop the upwards traversal.
755 755
 	 * @param boolean $showHidden Include pages marked with the attribute ShowInMenus = 0
756
-	 * @return string The breadcrumb trail.
756
+	 * @return \SilverStripe\ORM\FieldType\DBHTMLText The breadcrumb trail.
757 757
 	 */
758 758
 	public function Breadcrumbs($maxDepth = 20, $unlinked = false, $stopAtPageType = false, $showHidden = false) {
759 759
 		$pages = $this->getBreadcrumbItems($maxDepth, $stopAtPageType, $showHidden);
Please login to merge, or discard this patch.