Completed
Pull Request — 3.x (#4825)
by Grégoire
04:01
created
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +7 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1019,6 +1019,7 @@  discard block
 block discarded – undo
1019 1019
 
1020 1020
     /**
1021 1021
      * NEXT_MAJOR: remove this method
1022
+     * @param string $subClass
1022 1023
      */
1023 1024
     public function addSubClass($subClass)
1024 1025
     {
@@ -1172,6 +1173,8 @@  discard block
 block discarded – undo
1172 1173
 
1173 1174
     /**
1174 1175
      * {@inheritdoc}
1176
+     * @param string $name
1177
+     * @param string $adminCode
1175 1178
      */
1176 1179
     public function isCurrentRoute($name, $adminCode = null)
1177 1180
     {
@@ -2543,7 +2546,7 @@  discard block
 block discarded – undo
2543 2546
      *
2544 2547
      * @param string $context
2545 2548
      *
2546
-     * @return array
2549
+     * @return string[]
2547 2550
      */
2548 2551
     public function getPermissionsShow($context)
2549 2552
     {
@@ -2786,7 +2789,7 @@  discard block
 block discarded – undo
2786 2789
     /**
2787 2790
      * Set custom per page options.
2788 2791
      *
2789
-     * @param array $options
2792
+     * @param integer[] $options
2790 2793
      */
2791 2794
     public function setPerPageOptions(array $options)
2792 2795
     {
@@ -2948,6 +2951,7 @@  discard block
 block discarded – undo
2948 2951
 
2949 2952
     /**
2950 2953
      * {@inheritdoc}
2954
+     * @param string $action
2951 2955
      */
2952 2956
     public function configureActionButtons($action, $object = null)
2953 2957
     {
@@ -3079,7 +3083,6 @@  discard block
 block discarded – undo
3079 3083
     }
3080 3084
 
3081 3085
     /**
3082
-     * @param FormMapper $form
3083 3086
      */
3084 3087
     final public function getSearchResultLink($object)
3085 3088
     {
@@ -3196,7 +3199,7 @@  discard block
 block discarded – undo
3196 3199
      * NEXT_MAJOR: remove this method.
3197 3200
      *
3198 3201
      * @param MenuItemInterface $menu
3199
-     * @param                   $action
3202
+     * @param                   string $action
3200 3203
      * @param AdminInterface    $childAdmin
3201 3204
      *
3202 3205
      * @return mixed
Please login to merge, or discard this patch.