Completed
Push — master ( aed070...2ff8b4 )
by Grégoire
03:21
created
src/Admin/AbstractAdmin.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -2303,7 +2303,7 @@  discard block
 block discarded – undo
2303 2303
      *
2304 2304
      * @param string $context
2305 2305
      *
2306
-     * @return array
2306
+     * @return string[]
2307 2307
      */
2308 2308
     public function getPermissionsShow($context)
2309 2309
     {
@@ -2546,7 +2546,7 @@  discard block
 block discarded – undo
2546 2546
     /**
2547 2547
      * Set custom per page options.
2548 2548
      *
2549
-     * @param array $options
2549
+     * @param integer[] $options
2550 2550
      */
2551 2551
     public function setPerPageOptions(array $options): void
2552 2552
     {
@@ -2964,7 +2964,7 @@  discard block
 block discarded – undo
2964 2964
      * NEXT_MAJOR: remove this method.
2965 2965
      *
2966 2966
      * @param MenuItemInterface $menu
2967
-     * @param                   $action
2967
+     * @param                   string $action
2968 2968
      * @param AdminInterface    $childAdmin
2969 2969
      *
2970 2970
      * @return mixed
Please login to merge, or discard this patch.
src/Admin/Pool.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
     }
292 292
 
293 293
     /**
294
-     * @param array $adminServiceIds
294
+     * @param string[] $adminServiceIds
295 295
      */
296 296
     public function setAdminServiceIds(array $adminServiceIds): void
297 297
     {
@@ -299,7 +299,7 @@  discard block
 block discarded – undo
299 299
     }
300 300
 
301 301
     /**
302
-     * @return array
302
+     * @return string[]
303 303
      */
304 304
     public function getAdminServiceIds()
305 305
     {
@@ -331,7 +331,7 @@  discard block
 block discarded – undo
331 331
     }
332 332
 
333 333
     /**
334
-     * @return array
334
+     * @return string[]
335 335
      */
336 336
     public function getTemplates()
337 337
     {
Please login to merge, or discard this patch.
src/Controller/PolyfillControllerTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,6 +27,9 @@
 block discarded – undo
27 27
  */
28 28
 trait PolyfillControllerTrait
29 29
 {
30
+    /**
31
+     * @param string $methodName
32
+     */
30 33
     public function __call($methodName, $arguments): void
31 34
     {
32 35
         $this->proxyToController($methodName, $arguments);
Please login to merge, or discard this patch.
src/Datagrid/Pager.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -461,7 +461,7 @@  discard block
 block discarded – undo
461 461
      * Returns a parameter.
462 462
      *
463 463
      * @param string $name
464
-     * @param mixed  $default
464
+     * @param null|string  $default
465 465
      *
466 466
      * @return mixed
467 467
      */
@@ -486,7 +486,7 @@  discard block
 block discarded – undo
486 486
      * Sets a parameter.
487 487
      *
488 488
      * @param string $name
489
-     * @param mixed  $value
489
+     * @param string  $value
490 490
      */
491 491
     public function setParameter($name, $value): void
492 492
     {
@@ -597,7 +597,7 @@  discard block
 block discarded – undo
597 597
     }
598 598
 
599 599
     /**
600
-     * @param array $countColumn
600
+     * @param string[] $countColumn
601 601
      *
602 602
      * @return array
603 603
      */
Please login to merge, or discard this patch.
tests/Admin/Extension/LockExtensionTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -210,6 +210,10 @@
 block discarded – undo
210 210
         return new FormMapper($contractor->reveal(), $formBuilder, $this->admin->reveal());
211 211
     }
212 212
 
213
+    /**
214
+     * @param string $uniqid
215
+     * @param Request $request
216
+     */
213 217
     private function configureAdmin($uniqid = null, $request = null, $modelManager = null): void
214 218
     {
215 219
         $this->admin->getUniqid()->willReturn($uniqid);
Please login to merge, or discard this patch.
tests/Controller/CRUDControllerTest.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -3685,6 +3685,9 @@  discard block
 block discarded – undo
3685 3685
         ];
3686 3686
     }
3687 3687
 
3688
+    /**
3689
+     * @param string $method
3690
+     */
3688 3691
     private function assertLoggerLogsModelManagerException($subject, $method): void
3689 3692
     {
3690 3693
         $exception = new ModelManagerException(
@@ -3707,6 +3710,10 @@  discard block
 block discarded – undo
3707 3710
             ]);
3708 3711
     }
3709 3712
 
3713
+    /**
3714
+     * @param string $id
3715
+     * @param string $domain
3716
+     */
3710 3717
     private function expectTranslate($id, array $parameters = [], $domain = null, $locale = null): void
3711 3718
     {
3712 3719
         $this->translator->expects($this->once())
Please login to merge, or discard this patch.