@@ -689,7 +689,7 @@ discard block |
||
689 | 689 | * @param boolean $unlinked Whether to link page titles. |
690 | 690 | * @param boolean|string $stopAtPageType ClassName of a page to stop the upwards traversal. |
691 | 691 | * @param boolean $showHidden Include pages marked with the attribute ShowInMenus = 0 |
692 | - * @return string The breadcrumb trail. |
|
692 | + * @return SilverStripe\Model\FieldType\DBField The breadcrumb trail. |
|
693 | 693 | */ |
694 | 694 | public function Breadcrumbs($maxDepth = 20, $unlinked = false, $stopAtPageType = false, $showHidden = false) { |
695 | 695 | $pages = $this->getBreadcrumbItems($maxDepth, $stopAtPageType, $showHidden); |
@@ -1320,7 +1320,7 @@ discard block |
||
1320 | 1320 | * |
1321 | 1321 | * @param string $condition The PHP condition to be evaluated. The page will be called $item |
1322 | 1322 | * @param array $collator An array, passed by reference, to collect all of the matching descendants. |
1323 | - * @return bool |
|
1323 | + * @return boolean|null |
|
1324 | 1324 | */ |
1325 | 1325 | public function collateDescendants($condition, &$collator) { |
1326 | 1326 | if($children = $this->Children()) { |