Completed
Pull Request — master (#6093)
by Mathieu
30:06
created
src/Controller/CRUDController.php 1 patch
Doc Comments   +7 added lines, -2 removed lines patch added patch discarded remove patch
@@ -188,6 +188,7 @@  discard block
 block discarded – undo
188 188
      *
189 189
      * @param string               $view       The view name
190 190
      * @param array<string, mixed> $parameters An array of parameters to pass to the view
191
+     * @param Response $response
191 192
      */
192 193
     public function renderWithExtraParams($view, array $parameters = [], ?Response $response = null): Response
193 194
     {
@@ -827,8 +828,8 @@  discard block
 block discarded – undo
827 828
     /**
828 829
      * Compare history revisions of object.
829 830
      *
830
-     * @param int|string|null $baseRevision
831
-     * @param int|string|null $compareRevision
831
+     * @param null|integer $baseRevision
832
+     * @param null|integer $compareRevision
832 833
      *
833 834
      * @throws AccessDeniedException If access is not granted
834 835
      * @throws NotFoundHttpException If the object or revision does not exist or the audit reader is not available
@@ -1008,6 +1009,9 @@  discard block
 block discarded – undo
1008 1009
         return $this->requestStack->getCurrentRequest();
1009 1010
     }
1010 1011
 
1012
+    /**
1013
+     * @param string $message
1014
+     */
1011 1015
     protected function addFlash(string $type, $message): void
1012 1016
     {
1013 1017
         if ($this->session instanceof Session) {
@@ -1492,6 +1496,7 @@  discard block
 block discarded – undo
1492 1496
 
1493 1497
     /**
1494 1498
      * Sets the admin form theme to form view. Used for compatibility between Symfony versions.
1499
+     * @param string[] $theme
1495 1500
      */
1496 1501
     private function setFormTheme(FormView $formView, ?array $theme = null): void
1497 1502
     {
Please login to merge, or discard this patch.