Completed
Push — master ( 904f18...8fc070 )
by Ingo
12s
created
code/Controllers/CMSMain.php 2 patches
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.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use SilverStripe\Admin\AdminRootController;
6 6
 use SilverStripe\Admin\CMSBatchActionHandler;
7
-use SilverStripe\Admin\LeftAndMain_SearchFilter;
8 7
 use SilverStripe\Admin\LeftAndMainFormRequestHandler;
9 8
 use SilverStripe\CMS\Model\VirtualPage;
10 9
 use SilverStripe\Forms\Tab;
Please login to merge, or discard this patch.
code/Model/SiteTree.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,6 @@
 block discarded – undo
46 46
 use SilverStripe\ORM\DB;
47 47
 use SilverStripe\ORM\HiddenClass;
48 48
 use SilverStripe\ORM\Hierarchy\Hierarchy;
49
-use SilverStripe\ORM\Hierarchy\MarkedSet;
50 49
 use SilverStripe\ORM\ManyManyList;
51 50
 use SilverStripe\ORM\ValidationResult;
52 51
 use SilverStripe\Versioned\Versioned;
Please login to merge, or discard this patch.
code/Model/VirtualPage.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use SilverStripe\Forms\ReadonlyTransformation;
8 8
 use SilverStripe\Forms\TreeDropdownField;
9 9
 use SilverStripe\ORM\DataObject;
10
-use SilverStripe\ORM\Hierarchy\MarkedSet;
11 10
 use SilverStripe\ORM\ValidationResult;
12 11
 use SilverStripe\Versioned\Versioned;
13 12
 use SilverStripe\Security\Member;
Please login to merge, or discard this patch.