Completed
Pull Request — master (#1783)
by Damian
02:29
created
code/Controllers/CMSMain.php 1 patch
Doc Comments   +6 added lines, -3 removed lines patch added patch discarded remove patch
@@ -331,6 +331,9 @@  discard block
 block discarded – undo
331 331
         }
332 332
     }
333 333
 
334
+    /**
335
+     * @param string $link
336
+     */
334 337
     public function LinkWithSearch($link)
335 338
     {
336 339
         // Whitelist to avoid side effects
@@ -842,7 +845,7 @@  discard block
 block discarded – undo
842 845
 
843 846
     /**
844 847
      * @param HTTPRequest $request
845
-     * @return string HTML
848
+     * @return HTTPResponse HTML
846 849
      */
847 850
     public function treeview($request)
848 851
     {
@@ -851,7 +854,7 @@  discard block
 block discarded – undo
851 854
 
852 855
     /**
853 856
      * @param HTTPRequest $request
854
-     * @return string HTML
857
+     * @return HTTPResponse HTML
855 858
      */
856 859
     public function listview($request)
857 860
     {
@@ -1207,7 +1210,7 @@  discard block
 block discarded – undo
1207 1210
      * Actually perform the publication step
1208 1211
      *
1209 1212
      * @param Versioned|DataObject $record
1210
-     * @return mixed
1213
+     * @return HTTPResponse|null
1211 1214
      */
1212 1215
     public function performPublish($record)
1213 1216
     {
Please login to merge, or discard this patch.