Completed
Push — master ( 8f8553...3c00c4 )
by
unknown
02:32
created
code/Controllers/CMSMain.php 1 patch
Doc Comments   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -334,6 +334,9 @@  discard block
 block discarded – undo
334 334
         }
335 335
     }
336 336
 
337
+    /**
338
+     * @param string $link
339
+     */
337 340
     public function LinkWithSearch($link)
338 341
     {
339 342
         // Whitelist to avoid side effects
@@ -833,6 +836,9 @@  discard block
 block discarded – undo
833 836
         }
834 837
     }
835 838
 
839
+    /**
840
+     * @param SiteTree $record
841
+     */
836 842
     protected function getArchiveWarningMessage($record)
837 843
     {
838 844
         // Get all page's descendants
@@ -873,7 +879,7 @@  discard block
 block discarded – undo
873 879
 
874 880
     /**
875 881
      * @param HTTPRequest $request
876
-     * @return string HTML
882
+     * @return HTTPResponse HTML
877 883
      */
878 884
     public function treeview($request)
879 885
     {
@@ -882,7 +888,7 @@  discard block
 block discarded – undo
882 888
 
883 889
     /**
884 890
      * @param HTTPRequest $request
885
-     * @return string HTML
891
+     * @return HTTPResponse HTML
886 892
      */
887 893
     public function listview($request)
888 894
     {
@@ -1236,7 +1242,7 @@  discard block
 block discarded – undo
1236 1242
      * Actually perform the publication step
1237 1243
      *
1238 1244
      * @param Versioned|DataObject $record
1239
-     * @return mixed
1245
+     * @return HTTPResponse|null
1240 1246
      */
1241 1247
     public function performPublish($record)
1242 1248
     {
Please login to merge, or discard this patch.