Completed
Push — 3.x ( 855118...6b65c1 )
by Grégoire
03:07
created
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +10 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1037,6 +1037,7 @@  discard block
 block discarded – undo
1037 1037
 
1038 1038
     /**
1039 1039
      * NEXT_MAJOR: remove this method.
1040
+     * @param string $subClass
1040 1041
      */
1041 1042
     public function addSubClass($subClass)
1042 1043
     {
@@ -1195,6 +1196,10 @@  discard block
 block discarded – undo
1195 1196
         return $this->routeGenerator->hasAdminRoute($this, $name);
1196 1197
     }
1197 1198
 
1199
+    /**
1200
+     * @param string $name
1201
+     * @param string $adminCode
1202
+     */
1198 1203
     public function isCurrentRoute($name, $adminCode = null)
1199 1204
     {
1200 1205
         if (!$this->hasRequest()) {
@@ -2337,7 +2342,7 @@  discard block
 block discarded – undo
2337 2342
      *
2338 2343
      * @param string $context
2339 2344
      *
2340
-     * @return array
2345
+     * @return string[]
2341 2346
      */
2342 2347
     public function getPermissionsShow($context)
2343 2348
     {
@@ -2642,6 +2647,9 @@  discard block
 block discarded – undo
2642 2647
         return true;
2643 2648
     }
2644 2649
 
2650
+    /**
2651
+     * @param string $action
2652
+     */
2645 2653
     public function configureActionButtons($action, $object = null)
2646 2654
     {
2647 2655
         $list = [];
@@ -2894,6 +2902,7 @@  discard block
 block discarded – undo
2894 2902
      * NEXT_MAJOR: remove this method.
2895 2903
      *
2896 2904
      * @deprecated Use configureTabMenu instead
2905
+     * @param string $action
2897 2906
      */
2898 2907
     protected function configureSideMenu(MenuItemInterface $menu, $action, AdminInterface $childAdmin = null)
2899 2908
     {
Please login to merge, or discard this patch.
src/Twig/GlobalVariables.php 1 patch
Doc Comments   +8 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,6 +44,7 @@  discard block
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * @param ContainerInterface|Pool $adminPool
47
+     * @param string $mosaicBackground
47 48
      */
48 49
     public function __construct($adminPool, ?string $mosaicBackground = null)
49 50
     {
@@ -80,7 +81,7 @@  discard block
 block discarded – undo
80 81
     /**
81 82
      * @param string $code
82 83
      * @param string $action
83
-     * @param array  $parameters
84
+     * @param string[]  $parameters
84 85
      * @param int    $absolute
85 86
      *
86 87
      * @return string
@@ -95,8 +96,8 @@  discard block
 block discarded – undo
95 96
     /**
96 97
      * @param string $code
97 98
      * @param string $action
98
-     * @param object $object
99
-     * @param array  $parameters
99
+     * @param string $object
100
+     * @param string[]  $parameters
100 101
      * @param int    $absolute
101 102
      *
102 103
      * @return string
@@ -113,6 +114,10 @@  discard block
 block discarded – undo
113 114
         return $this->mosaicBackground;
114 115
     }
115 116
 
117
+    /**
118
+     * @param string $code
119
+     * @param string $action
120
+     */
116 121
     private function getCodeAction($code, $action): array
117 122
     {
118 123
         if ($pipe = strpos($code, '|')) {
Please login to merge, or discard this patch.