Completed
Push — master ( e6c9d7...cc6bd7 )
by Grégoire
12:23
created
src/Show/ShowMapper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
 
40 40
     /**
41 41
      * @param mixed $name
42
-     * @param mixed $type
42
+     * @param null|string $type
43 43
      *
44 44
      * @throws \RuntimeException
45 45
      *
Please login to merge, or discard this patch.
tests/Datagrid/DatagridMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -292,6 +292,10 @@
 block discarded – undo
292 292
         $this->assertTrue($this->datagridMapper->has('baz'));
293 293
     }
294 294
 
295
+    /**
296
+     * @param string $name
297
+     * @param string $label
298
+     */
295 299
     private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription
296 300
     {
297 301
         $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class);
Please login to merge, or discard this patch.
tests/Datagrid/ListMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -286,6 +286,10 @@
 block discarded – undo
286 286
         $this->assertTrue($this->listMapper->has('baz'));
287 287
     }
288 288
 
289
+    /**
290
+     * @param string $name
291
+     * @param string $label
292
+     */
289 293
     private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription
290 294
     {
291 295
         $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class);
Please login to merge, or discard this patch.
tests/Show/ShowMapperTest.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -501,6 +501,10 @@
 block discarded – undo
501 501
         $this->admin->setLabelTranslatorStrategy(new NoopLabelTranslatorStrategy());
502 502
     }
503 503
 
504
+    /**
505
+     * @param string $name
506
+     * @param string $label
507
+     */
504 508
     private function getFieldDescriptionMock(?string $name = null, ?string $label = null): BaseFieldDescription
505 509
     {
506 510
         $fieldDescription = $this->getMockForAbstractClass(BaseFieldDescription::class);
Please login to merge, or discard this patch.