Completed
Push — master ( 848fca...e5a7d1 )
by Grégoire
11s
created
tests/Menu/Matcher/Voter/AdminVoterTest.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -70,6 +70,7 @@  discard block
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * {@inheritdoc}
73
+     * @param string $code
73 74
      */
74 75
     private function getAdmin($code, $list = false, $granted = false)
75 76
     {
@@ -102,6 +103,8 @@  discard block
 block discarded – undo
102 103
 
103 104
     /**
104 105
      * {@inheritdoc}
106
+     * @param string $parentCode
107
+     * @param string $childCode
105 108
      */
106 109
     private function getChildAdmin($parentCode, $childCode, $list = false, $granted = false)
107 110
     {
Please login to merge, or discard this patch.
src/Menu/Matcher/Voter/AdminVoter.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -42,6 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * @deprecated since version 3.x. Pass a RequestStack to the constructor instead.
44 44
      *
45
+     * @param Request $request
45 46
      * @return $this
46 47
      */
47 48
     public function setRequest($request)
Please login to merge, or discard this patch.
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -863,6 +863,7 @@  discard block
 block discarded – undo
863 863
 
864 864
     /**
865 865
      * NEXT_MAJOR: remove this method.
866
+     * @param string $subClass
866 867
      */
867 868
     public function addSubClass($subClass): void
868 869
     {
@@ -1962,7 +1963,7 @@  discard block
 block discarded – undo
1962 1963
      *
1963 1964
      * @param string $context
1964 1965
      *
1965
-     * @return array
1966
+     * @return string[]
1966 1967
      */
1967 1968
     public function getPermissionsShow($context)
1968 1969
     {
@@ -2477,6 +2478,9 @@  discard block
 block discarded – undo
2477 2478
     {
2478 2479
     }
2479 2480
 
2481
+    /**
2482
+     * @param string $action
2483
+     */
2480 2484
     protected function configureActionButtons($buttonList, $action, $object = null)
2481 2485
     {
2482 2486
         return $buttonList;
@@ -2497,6 +2501,7 @@  discard block
 block discarded – undo
2497 2501
     /**
2498 2502
      * NEXT_MAJOR: remove this method.
2499 2503
      *
2504
+     * @param string $action
2500 2505
      * @return mixed
2501 2506
      *
2502 2507
      * @deprecated Use configureTabMenu instead
Please login to merge, or discard this patch.