@@ -361,6 +361,9 @@ discard block |
||
361 | 361 | return 'edit'; |
362 | 362 | } |
363 | 363 | |
364 | + /** |
|
365 | + * @param string $link |
|
366 | + */ |
|
364 | 367 | public function LinkWithSearch($link) |
365 | 368 | { |
366 | 369 | // Whitelist to avoid side effects |
@@ -501,7 +504,7 @@ discard block |
||
501 | 504 | /** |
502 | 505 | * Get callback to determine template customisations for nodes |
503 | 506 | * |
504 | - * @return callable |
|
507 | + * @return \Closure |
|
505 | 508 | */ |
506 | 509 | protected function getTreeNodeCustomisations() |
507 | 510 | { |
@@ -1290,7 +1293,7 @@ discard block |
||
1290 | 1293 | |
1291 | 1294 | /** |
1292 | 1295 | * @param HTTPRequest $request |
1293 | - * @return string HTML |
|
1296 | + * @return HTTPResponse HTML |
|
1294 | 1297 | */ |
1295 | 1298 | public function treeview($request) |
1296 | 1299 | { |
@@ -1299,7 +1302,7 @@ discard block |
||
1299 | 1302 | |
1300 | 1303 | /** |
1301 | 1304 | * @param HTTPRequest $request |
1302 | - * @return string HTML |
|
1305 | + * @return HTTPResponse HTML |
|
1303 | 1306 | */ |
1304 | 1307 | public function listview($request) |
1305 | 1308 | { |
@@ -1652,7 +1655,7 @@ discard block |
||
1652 | 1655 | * Actually perform the publication step |
1653 | 1656 | * |
1654 | 1657 | * @param Versioned|DataObject $record |
1655 | - * @return mixed |
|
1658 | + * @return HTTPResponse|null |
|
1656 | 1659 | */ |
1657 | 1660 | public function performPublish($record) |
1658 | 1661 | { |
@@ -811,7 +811,7 @@ |
||
811 | 811 | * @param boolean $unlinked Whether to link page titles. |
812 | 812 | * @param boolean|string $stopAtPageType ClassName of a page to stop the upwards traversal. |
813 | 813 | * @param boolean $showHidden Include pages marked with the attribute ShowInMenus = 0 |
814 | - * @return string The breadcrumb trail. |
|
814 | + * @return \SilverStripe\ORM\FieldType\DBHTMLText The breadcrumb trail. |
|
815 | 815 | */ |
816 | 816 | public function Breadcrumbs($maxDepth = 20, $unlinked = false, $stopAtPageType = false, $showHidden = false, $delimiter = '»') |
817 | 817 | { |