Completed
Pull Request — 3.x (#4825)
by Grégoire
04:31
created
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +10 added lines, -2 removed lines patch added patch discarded remove patch
@@ -961,6 +961,7 @@  discard block
 block discarded – undo
961 961
 
962 962
     /**
963 963
      * NEXT_MAJOR: remove this method.
964
+     * @param string $subClass
964 965
      */
965 966
     public function addSubClass($subClass)
966 967
     {
@@ -1083,6 +1084,10 @@  discard block
 block discarded – undo
1083 1084
         return $this->routeGenerator->hasAdminRoute($this, $name);
1084 1085
     }
1085 1086
 
1087
+    /**
1088
+     * @param string $name
1089
+     * @param string $adminCode
1090
+     */
1086 1091
     public function isCurrentRoute($name, $adminCode = null)
1087 1092
     {
1088 1093
         if (!$this->hasRequest()) {
@@ -2177,7 +2182,7 @@  discard block
 block discarded – undo
2177 2182
      *
2178 2183
      * @param string $context
2179 2184
      *
2180
-     * @return array
2185
+     * @return string[]
2181 2186
      */
2182 2187
     public function getPermissionsShow($context)
2183 2188
     {
@@ -2482,6 +2487,9 @@  discard block
 block discarded – undo
2482 2487
         return true;
2483 2488
     }
2484 2489
 
2490
+    /**
2491
+     * @param string $action
2492
+     */
2485 2493
     public function configureActionButtons($action, $object = null)
2486 2494
     {
2487 2495
         $list = [];
@@ -2612,7 +2620,6 @@  discard block
 block discarded – undo
2612 2620
     }
2613 2621
 
2614 2622
     /**
2615
-     * @param FormMapper $form
2616 2623
      */
2617 2624
     final public function getSearchResultLink($object)
2618 2625
     {
@@ -2711,6 +2718,7 @@  discard block
 block discarded – undo
2711 2718
     /**
2712 2719
      * NEXT_MAJOR: remove this method.
2713 2720
      *
2721
+     * @param string $action
2714 2722
      * @return mixed
2715 2723
      *
2716 2724
      * @deprecated Use configureTabMenu instead
Please login to merge, or discard this patch.