Completed
Pull Request — master (#5790)
by Christian
03:05
created
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -949,6 +949,7 @@  discard block
 block discarded – undo
949 949
 
950 950
     /**
951 951
      * NEXT_MAJOR: remove this method.
952
+     * @param string $subClass
952 953
      */
953 954
     public function addSubClass($subClass): void
954 955
     {
@@ -1104,6 +1105,9 @@  discard block
 block discarded – undo
1104 1105
         return $this->routeGenerator->hasAdminRoute($this, $name);
1105 1106
     }
1106 1107
 
1108
+    /**
1109
+     * @param string $adminCode
1110
+     */
1107 1111
     public function isCurrentRoute(string $name, ?string $adminCode = null): bool
1108 1112
     {
1109 1113
         if (!$this->hasRequest()) {
@@ -2127,7 +2131,7 @@  discard block
 block discarded – undo
2127 2131
      *
2128 2132
      * @param string $context
2129 2133
      *
2130
-     * @return array
2134
+     * @return string[]
2131 2135
      */
2132 2136
     public function getPermissionsShow($context)
2133 2137
     {
@@ -2532,6 +2536,7 @@  discard block
 block discarded – undo
2532 2536
 
2533 2537
     /**
2534 2538
      * {@inheritdoc}
2539
+     * @param boolean $isShown
2535 2540
      */
2536 2541
     final public function showMosaicButton($isShown): void
2537 2542
     {
@@ -2576,6 +2581,9 @@  discard block
 block discarded – undo
2576 2581
         return $object && $this->id($object) && $this->hasAccess($action, $object);
2577 2582
     }
2578 2583
 
2584
+    /**
2585
+     * @param string $object
2586
+     */
2579 2587
     public function configureActionButtons(string $action, ?object $object = null): array
2580 2588
     {
2581 2589
         return [];
@@ -2663,6 +2671,7 @@  discard block
 block discarded – undo
2663 2671
      * NEXT_MAJOR: remove this method.
2664 2672
      *
2665 2673
      * @deprecated Use configureTabMenu instead
2674
+     * @param string $action
2666 2675
      */
2667 2676
     protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null)
2668 2677
     {
Please login to merge, or discard this patch.