Completed
Pull Request — 3.x (#4869)
by Sergey
03:48
created
tests/Menu/Matcher/Voter/AdminVoterTest.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * @param mixed $dataVoter
59 59
      * @param mixed $route
60 60
      *
61
-     * @return VoterInterface
61
+     * @return AdminVoter
62 62
      * @group legacy
63 63
      */
64 64
     protected function createVoterLegacy($dataVoter, $route)
@@ -92,6 +92,7 @@  discard block
 block discarded – undo
92 92
 
93 93
     /**
94 94
      * {@inheritdoc}
95
+     * @param string $code
95 96
      */
96 97
     private function getAdmin($code, $list = false, $granted = false)
97 98
     {
@@ -124,6 +125,8 @@  discard block
 block discarded – undo
124 125
 
125 126
     /**
126 127
      * {@inheritdoc}
128
+     * @param string $parentCode
129
+     * @param string $childCode
127 130
      */
128 131
     private function getChildAdmin($parentCode, $childCode, $list = false, $granted = false)
129 132
     {
Please login to merge, or discard this patch.