Completed
Pull Request — master (#1073)
by Vincent
01:44
created
src/Builder/ListBuilder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -63,6 +63,9 @@
 block discarded – undo
63 63
         $this->fixFieldDescription($admin, $fieldDescription);
64 64
     }
65 65
 
66
+    /**
67
+     * @param string|null $type
68
+     */
66 69
     public function addField(FieldDescriptionCollection $list, ?string $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin): void
67 70
     {
68 71
         $this->buildField($type, $fieldDescription, $admin);
Please login to merge, or discard this patch.
src/Builder/ShowBuilder.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -47,6 +47,9 @@
 block discarded – undo
47 47
         return new FieldDescriptionCollection();
48 48
     }
49 49
 
50
+    /**
51
+     * @param null|string $type
52
+     */
50 53
     public function addField(FieldDescriptionCollection $list, ?string $type, FieldDescriptionInterface $fieldDescription, AdminInterface $admin): void
51 54
     {
52 55
         if (null === $type) {
Please login to merge, or discard this patch.
tests/Block/AuditBlockServiceTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,6 @@
 block discarded – undo
16 16
 use PHPUnit\Framework\MockObject\MockObject;
17 17
 use SimpleThings\EntityAudit\AuditReader as SimpleThingsAuditReader;
18 18
 use SimpleThings\EntityAudit\Revision;
19
-use Sonata\BlockBundle\Block\BlockContext;
20 19
 use Sonata\BlockBundle\Block\BlockContextInterface;
21 20
 use Sonata\BlockBundle\Model\Block;
22 21
 use Sonata\BlockBundle\Test\BlockServiceTestCase;
Please login to merge, or discard this patch.