Completed
Pull Request — 3.x (#4825)
by Grégoire
03:52
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
     {
@@ -1173,6 +1174,8 @@  discard block
 block discarded – undo
1173 1174
 
1174 1175
     /**
1175 1176
      * {@inheritdoc}
1177
+     * @param string $name
1178
+     * @param string $adminCode
1176 1179
      */
1177 1180
     public function isCurrentRoute($name, $adminCode = null)
1178 1181
     {
@@ -2542,7 +2545,7 @@  discard block
 block discarded – undo
2542 2545
      *
2543 2546
      * @param string $context
2544 2547
      *
2545
-     * @return array
2548
+     * @return string[]
2546 2549
      */
2547 2550
     public function getPermissionsShow($context)
2548 2551
     {
@@ -2785,7 +2788,7 @@  discard block
 block discarded – undo
2785 2788
     /**
2786 2789
      * Set custom per page options.
2787 2790
      *
2788
-     * @param array $options
2791
+     * @param integer[] $options
2789 2792
      */
2790 2793
     public function setPerPageOptions(array $options)
2791 2794
     {
@@ -2947,6 +2950,7 @@  discard block
 block discarded – undo
2947 2950
 
2948 2951
     /**
2949 2952
      * {@inheritdoc}
2953
+     * @param string $action
2950 2954
      */
2951 2955
     public function configureActionButtons($action, $object = null)
2952 2956
     {
@@ -3078,7 +3082,6 @@  discard block
 block discarded – undo
3078 3082
     }
3079 3083
 
3080 3084
     /**
3081
-     * @param FormMapper $form
3082 3085
      */
3083 3086
     final public function getSearchResultLink($object)
3084 3087
     {
@@ -3193,7 +3196,7 @@  discard block
 block discarded – undo
3193 3196
      * NEXT_MAJOR: remove this method.
3194 3197
      *
3195 3198
      * @param MenuItemInterface $menu
3196
-     * @param                   $action
3199
+     * @param                   string $action
3197 3200
      * @param AdminInterface    $childAdmin
3198 3201
      *
3199 3202
      * @return mixed
Please login to merge, or discard this patch.