Completed
Pull Request — 3.x (#5411)
by Grégoire
04:23 queued 31s
created
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.
tests/Controller/HelperControllerTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -581,6 +581,9 @@  discard block
 block discarded – undo
581 581
         return $datagrid;
582 582
     }
583 583
 
584
+    /**
585
+     * @param string $field
586
+     */
584 587
     private function configureFormConfig($field, $disabled = false): void
585 588
     {
586 589
         $form = $this->prophesize(Form::class);
@@ -600,6 +603,9 @@  discard block
 block discarded – undo
600 603
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
601 604
     }
602 605
 
606
+    /**
607
+     * @param string $field
608
+     */
603 609
     private function configureFormConfigComplexProperty($field): void
604 610
     {
605 611
         $form = $this->prophesize(Form::class);
@@ -619,6 +625,9 @@  discard block
 block discarded – undo
619 625
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
620 626
     }
621 627
 
628
+    /**
629
+     * @param string $field
630
+     */
622 631
     private function configureFormConfigComplexPropertyArray($field): void
623 632
     {
624 633
         $form = $this->prophesize(Form::class);
Please login to merge, or discard this patch.
tests/Action/RetrieveAutocompleteItemsActionTest.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -581,6 +581,9 @@  discard block
 block discarded – undo
581 581
         return $datagrid;
582 582
     }
583 583
 
584
+    /**
585
+     * @param string $field
586
+     */
584 587
     private function configureFormConfig($field, $disabled = false): void
585 588
     {
586 589
         $form = $this->prophesize(Form::class);
@@ -600,6 +603,9 @@  discard block
 block discarded – undo
600 603
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
601 604
     }
602 605
 
606
+    /**
607
+     * @param string $field
608
+     */
603 609
     private function configureFormConfigComplexProperty($field): void
604 610
     {
605 611
         $form = $this->prophesize(Form::class);
@@ -619,6 +625,9 @@  discard block
 block discarded – undo
619 625
         $formConfig->getAttribute('target_admin_access_action')->willReturn('list');
620 626
     }
621 627
 
628
+    /**
629
+     * @param string $field
630
+     */
622 631
     private function configureFormConfigComplexPropertyArray($field): void
623 632
     {
624 633
         $form = $this->prophesize(Form::class);
Please login to merge, or discard this patch.
tests/Fixtures/Admin/PostAdmin.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -19,6 +19,9 @@
 block discarded – undo
19 19
 {
20 20
     protected $metadataClass = null;
21 21
 
22
+    /**
23
+     * @param string $associationMapping
24
+     */
22 25
     public function setParentAssociationMapping($associationMapping): void
23 26
     {
24 27
         $this->parentAssociationMapping = $associationMapping;
Please login to merge, or discard this patch.