@@ -63,6 +63,9 @@ |
||
| 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); |
@@ -47,6 +47,9 @@ |
||
| 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) { |
@@ -16,7 +16,6 @@ |
||
| 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; |