Completed
Push — master ( 904f18...8fc070 )
by Ingo
12s
created
code/Controllers/CMSMain.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -346,6 +346,9 @@  discard block
 block discarded – undo
346 346
         }
347 347
     }
348 348
 
349
+    /**
350
+     * @param string $link
351
+     */
349 352
     public function LinkWithSearch($link)
350 353
     {
351 354
         // Whitelist to avoid side effects
@@ -484,7 +487,7 @@  discard block
 block discarded – undo
484 487
     /**
485 488
      * Get callback to determine template customisations for nodes
486 489
      *
487
-     * @return callable
490
+     * @return \Closure
488 491
      */
489 492
     protected function getTreeNodeCustomisations()
490 493
     {
@@ -1263,7 +1266,7 @@  discard block
 block discarded – undo
1263 1266
 
1264 1267
     /**
1265 1268
      * @param HTTPRequest $request
1266
-     * @return string HTML
1269
+     * @return HTTPResponse HTML
1267 1270
      */
1268 1271
     public function treeview($request)
1269 1272
     {
@@ -1272,7 +1275,7 @@  discard block
 block discarded – undo
1272 1275
 
1273 1276
     /**
1274 1277
      * @param HTTPRequest $request
1275
-     * @return string HTML
1278
+     * @return HTTPResponse HTML
1276 1279
      */
1277 1280
     public function listview($request)
1278 1281
     {
@@ -1626,7 +1629,7 @@  discard block
 block discarded – undo
1626 1629
      * Actually perform the publication step
1627 1630
      *
1628 1631
      * @param Versioned|DataObject $record
1629
-     * @return mixed
1632
+     * @return HTTPResponse|null
1630 1633
      */
1631 1634
     public function performPublish($record)
1632 1635
     {
Please login to merge, or discard this patch.