Completed
Pull Request — master (#6204)
by
unknown
05:02 queued 02:06
created
src/Translator/Extractor/JMSTranslatorBundle/AdminExtractor.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -196,6 +196,11 @@
 block discarded – undo
196 196
         return $id;
197 197
     }
198 198
 
199
+    /**
200
+     * @param string $id
201
+     * @param integer $number
202
+     * @param string $domain
203
+     */
199 204
     public function transChoice($id, $number, array $parameters = [], ?string $domain = null, ?string $locale = null)
200 205
     {
201 206
         $this->addMessage($id, $domain);
Please login to merge, or discard this patch.
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -1093,6 +1093,9 @@  discard block
 block discarded – undo
1093 1093
         return $this->routeGenerator->hasAdminRoute($this, $name);
1094 1094
     }
1095 1095
 
1096
+    /**
1097
+     * @param string $adminCode
1098
+     */
1096 1099
     public function isCurrentRoute(string $name, ?string $adminCode = null): bool
1097 1100
     {
1098 1101
         if (!$this->hasRequest()) {
@@ -1351,6 +1354,9 @@  discard block
 block discarded – undo
1351 1354
         return $this->baseControllerName;
1352 1355
     }
1353 1356
 
1357
+    /**
1358
+     * @param string $label
1359
+     */
1354 1360
     public function setLabel(?string $label): void
1355 1361
     {
1356 1362
         $this->label = $label;
@@ -2207,6 +2213,9 @@  discard block
 block discarded – undo
2207 2213
         return $this->managerType;
2208 2214
     }
2209 2215
 
2216
+    /**
2217
+     * @param string $type
2218
+     */
2210 2219
     public function setManagerType(?string $type): void
2211 2220
     {
2212 2221
         $this->managerType = $type;
@@ -2660,6 +2669,7 @@  discard block
 block discarded – undo
2660 2669
 
2661 2670
     /**
2662 2671
      * {@inheritdoc}
2672
+     * @param boolean $isShown
2663 2673
      */
2664 2674
     final public function showMosaicButton($isShown): void
2665 2675
     {
@@ -2807,6 +2817,7 @@  discard block
 block discarded – undo
2807 2817
      * NEXT_MAJOR: remove this method.
2808 2818
      *
2809 2819
      * @deprecated Use configureTabMenu instead
2820
+     * @param string $action
2810 2821
      */
2811 2822
     protected function configureSideMenu(ItemInterface $menu, $action, ?AdminInterface $childAdmin = null): void
2812 2823
     {
Please login to merge, or discard this patch.
src/Controller/CRUDController.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -187,6 +187,7 @@  discard block
 block discarded – undo
187 187
      *
188 188
      * @param string               $view       The view name
189 189
      * @param array<string, mixed> $parameters An array of parameters to pass to the view
190
+     * @param Response $response
190 191
      */
191 192
     public function renderWithExtraParams($view, array $parameters = [], ?Response $response = null): Response
192 193
     {
@@ -826,8 +827,8 @@  discard block
 block discarded – undo
826 827
     /**
827 828
      * Compare history revisions of object.
828 829
      *
829
-     * @param int|string|null $baseRevision
830
-     * @param int|string|null $compareRevision
830
+     * @param null|integer $baseRevision
831
+     * @param null|integer $compareRevision
831 832
      *
832 833
      * @throws AccessDeniedException If access is not granted
833 834
      * @throws NotFoundHttpException If the object or revision does not exist or the audit reader is not available
@@ -1007,6 +1008,9 @@  discard block
 block discarded – undo
1007 1008
         return $this->requestStack->getCurrentRequest();
1008 1009
     }
1009 1010
 
1011
+    /**
1012
+     * @param string $message
1013
+     */
1010 1014
     protected function addFlash(string $type, $message): void
1011 1015
     {
1012 1016
         $this->session->set($type, $message);
@@ -1497,6 +1501,7 @@  discard block
 block discarded – undo
1497 1501
 
1498 1502
     /**
1499 1503
      * Sets the admin form theme to form view. Used for compatibility between Symfony versions.
1504
+     * @param string[] $theme
1500 1505
      */
1501 1506
     private function setFormTheme(FormView $formView, ?array $theme = null): void
1502 1507
     {
Please login to merge, or discard this patch.