Completed
Pull Request — master (#6005)
by Javier
02:18
created
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -945,6 +945,7 @@  discard block
 block discarded – undo
945 945
 
946 946
     /**
947 947
      * NEXT_MAJOR: remove this method.
948
+     * @param string $subClass
948 949
      */
949 950
     public function addSubClass($subClass): void
950 951
     {
@@ -1073,6 +1074,9 @@  discard block
 block discarded – undo
1073 1074
         return $this->routeGenerator->hasAdminRoute($this, $name);
1074 1075
     }
1075 1076
 
1077
+    /**
1078
+     * @param string $adminCode
1079
+     */
1076 1080
     public function isCurrentRoute(string $name, ?string $adminCode = null): bool
1077 1081
     {
1078 1082
         if (!$this->hasRequest()) {
@@ -1320,6 +1324,9 @@  discard block
 block discarded – undo
1320 1324
         return $this->baseControllerName;
1321 1325
     }
1322 1326
 
1327
+    /**
1328
+     * @param string $label
1329
+     */
1323 1330
     public function setLabel(?string $label): void
1324 1331
     {
1325 1332
         $this->label = $label;
@@ -2030,6 +2037,9 @@  discard block
 block discarded – undo
2030 2037
         return $this->managerType;
2031 2038
     }
2032 2039
 
2040
+    /**
2041
+     * @param string $type
2042
+     */
2033 2043
     public function setManagerType(?string $type): void
2034 2044
     {
2035 2045
         $this->managerType = $type;
@@ -2440,6 +2450,7 @@  discard block
 block discarded – undo
2440 2450
 
2441 2451
     /**
2442 2452
      * {@inheritdoc}
2453
+     * @param boolean $isShown
2443 2454
      */
2444 2455
     final public function showMosaicButton($isShown): void
2445 2456
     {
@@ -2574,6 +2585,7 @@  discard block
 block discarded – undo
2574 2585
      * NEXT_MAJOR: remove this method.
2575 2586
      *
2576 2587
      * @deprecated Use configureTabMenu instead
2588
+     * @param string $action
2577 2589
      */
2578 2590
     protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null): void
2579 2591
     {
Please login to merge, or discard this patch.