@@ -5,7 +5,6 @@ |
||
5 | 5 | use Doctrine\ODM\PHPCR\ChildrenCollection; |
6 | 6 | use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\Article; |
7 | 7 | use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\ArticleWithRestrictedChildren; |
8 | -use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\Image; |
|
9 | 8 | use Psi\Bridge\ContentType\Doctrine\PhpcrOdm\Tests\Functional\Example\ImageNotAssignedGenerator; |
10 | 9 | |
11 | 10 | class ObjectTest extends PhpcrOdmTestCase |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ContentType\Standard\Field; |
6 | 6 | |
@@ -33,12 +33,12 @@ discard block |
||
33 | 33 | public function configureOptions(FieldOptionsResolver $options) |
34 | 34 | { |
35 | 35 | $options->setDefault('tag', null); |
36 | - $options->setViewMapper(function (array $options) { |
|
36 | + $options->setViewMapper(function(array $options) { |
|
37 | 37 | return [ |
38 | 38 | 'tag' => $options['tag'], |
39 | 39 | ]; |
40 | 40 | }); |
41 | - $options->setStorageMapper(function () { |
|
41 | + $options->setStorageMapper(function() { |
|
42 | 42 | return [ |
43 | 43 | 'length' => 255 |
44 | 44 | ]; |