Completed
Push — master ( 780648...a93e4f )
by Daniel
06:19
created
code/Controllers/CMSMain.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -375,6 +375,9 @@  discard block
 block discarded – undo
375 375
         return 'edit';
376 376
     }
377 377
 
378
+    /**
379
+     * @param string $link
380
+     */
378 381
     public function LinkWithSearch($link)
379 382
     {
380 383
         // Whitelist to avoid side effects
@@ -515,7 +518,7 @@  discard block
 block discarded – undo
515 518
     /**
516 519
      * Get callback to determine template customisations for nodes
517 520
      *
518
-     * @return callable
521
+     * @return \Closure
519 522
      */
520 523
     protected function getTreeNodeCustomisations()
521 524
     {
@@ -1333,7 +1336,7 @@  discard block
 block discarded – undo
1333 1336
      * This method exclusively handles deferred ajax requests to render the
1334 1337
      * pages tree deferred handler (no pjax-fragment)
1335 1338
      *
1336
-     * @return string HTML
1339
+     * @return DBHTMLText HTML
1337 1340
      */
1338 1341
     public function treeview()
1339 1342
     {
@@ -1344,7 +1347,7 @@  discard block
 block discarded – undo
1344 1347
      * Note: This method exclusively handles top level view of list view
1345 1348
      *
1346 1349
      * @param HTTPRequest $request
1347
-     * @return string HTML
1350
+     * @return HTTPResponse HTML
1348 1351
      */
1349 1352
     public function listview($request)
1350 1353
     {
@@ -1698,7 +1701,7 @@  discard block
 block discarded – undo
1698 1701
      * Actually perform the publication step
1699 1702
      *
1700 1703
      * @param Versioned|DataObject $record
1701
-     * @return mixed
1704
+     * @return HTTPResponse|null
1702 1705
      */
1703 1706
     public function performPublish($record)
1704 1707
     {
Please login to merge, or discard this patch.
code/Forms/AnchorSelectorField.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
      * Find all anchors available on the given page.
33 33
      *
34 34
      * @param HTTPRequest $request
35
-     * @return array
35
+     * @return string
36 36
      */
37 37
     public function anchors(HTTPRequest $request)
38 38
     {
Please login to merge, or discard this patch.