@@ -48,7 +48,7 @@ |
||
| 48 | 48 | { |
| 49 | 49 | $mock = self::prophesize(CriteriaConfiguratorInterface::class); |
| 50 | 50 | $mock->configure(Argument::exact($fqcn), Argument::exact($criteria), Argument::exact($data)) |
| 51 | - ->shouldBeCalled(); |
|
| 51 | + ->shouldBeCalled(); |
|
| 52 | 52 | |
| 53 | 53 | return $mock->reveal(); |
| 54 | 54 | } |
@@ -72,11 +72,11 @@ |
||
| 72 | 72 | |
| 73 | 73 | return $kernel instanceof Kernel && |
| 74 | 74 | ( |
| 75 | - $kernel::MAJOR_VERSION === '3' || |
|
| 75 | + $kernel::MAJOR_VERSION === '3' || |
|
| 76 | 76 | ( |
| 77 | - $kernel::MAJOR_VERSION === '2' |
|
| 77 | + $kernel::MAJOR_VERSION === '2' |
|
| 78 | 78 | && $kernel::MINOR_VERSION === '8' |
| 79 | - ) |
|
| 80 | - ); |
|
| 79 | + ) |
|
| 80 | + ); |
|
| 81 | 81 | } |
| 82 | 82 | } |
@@ -29,10 +29,10 @@ |
||
| 29 | 29 | * {@inheritdoc} |
| 30 | 30 | */ |
| 31 | 31 | public function construct(VisitorInterface $visitor, |
| 32 | - ClassMetadata $metadata, |
|
| 33 | - $data, |
|
| 34 | - array $type, |
|
| 35 | - DeserializationContext $context |
|
| 32 | + ClassMetadata $metadata, |
|
| 33 | + $data, |
|
| 34 | + array $type, |
|
| 35 | + DeserializationContext $context |
|
| 36 | 36 | ) { |
| 37 | 37 | if ($context->attributes->containsKey('target') && $context->getDepth() === 1) { |
| 38 | 38 | return $context->attributes->get('target')->get(); |