Completed
Pull Request — master (#6045)
by Javier
04:24
created
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +7 added lines, -1 removed lines patch added patch discarded remove patch
@@ -942,6 +942,7 @@  discard block
 block discarded – undo
942 942
 
943 943
     /**
944 944
      * NEXT_MAJOR: remove this method.
945
+     * @param string $subClass
945 946
      */
946 947
     public function addSubClass($subClass): void
947 948
     {
@@ -1097,6 +1098,9 @@  discard block
 block discarded – undo
1097 1098
         return $this->routeGenerator->hasAdminRoute($this, $name);
1098 1099
     }
1099 1100
 
1101
+    /**
1102
+     * @param string $adminCode
1103
+     */
1100 1104
     public function isCurrentRoute(string $name, ?string $adminCode = null): bool
1101 1105
     {
1102 1106
         if (!$this->hasRequest()) {
@@ -2119,7 +2123,7 @@  discard block
 block discarded – undo
2119 2123
      *
2120 2124
      * @param string $context
2121 2125
      *
2122
-     * @return array
2126
+     * @return string[]
2123 2127
      */
2124 2128
     public function getPermissionsShow($context)
2125 2129
     {
@@ -2515,6 +2519,7 @@  discard block
 block discarded – undo
2515 2519
 
2516 2520
     /**
2517 2521
      * {@inheritdoc}
2522
+     * @param boolean $isShown
2518 2523
      */
2519 2524
     final public function showMosaicButton($isShown): void
2520 2525
     {
@@ -2651,6 +2656,7 @@  discard block
 block discarded – undo
2651 2656
      * NEXT_MAJOR: remove this method.
2652 2657
      *
2653 2658
      * @deprecated Use configureTabMenu instead
2659
+     * @param string $action
2654 2660
      */
2655 2661
     protected function configureSideMenu(ItemInterface $menu, $action, AdminInterface $childAdmin = null)
2656 2662
     {
Please login to merge, or discard this patch.