@@ -37,7 +37,7 @@ |
||
37 | 37 | private $delegates; |
38 | 38 | |
39 | 39 | /** |
40 | - * @param ExclusionStrategyInterface[]|SequenceInterface $delegates |
|
40 | + * @param ExclusionStrategyInterface[] $delegates |
|
41 | 41 | */ |
42 | 42 | public function __construct($delegates) |
43 | 43 | { |
@@ -162,6 +162,9 @@ |
||
162 | 162 | ; |
163 | 163 | } |
164 | 164 | |
165 | + /** |
|
166 | + * @param string $format |
|
167 | + */ |
|
165 | 168 | private function visit(VisitorInterface $visitor, Context $context, $data, $format, array $type = null) |
166 | 169 | { |
167 | 170 | $context->initialize( |
@@ -23,17 +23,11 @@ |
||
23 | 23 | use JMS\Serializer\Handler\PhpCollectionHandler; |
24 | 24 | use JMS\Serializer\Handler\PropelCollectionHandler; |
25 | 25 | use JMS\Serializer\Exception\RuntimeException; |
26 | -use Metadata\Driver\DriverInterface; |
|
27 | 26 | use Metadata\MetadataFactory; |
28 | -use JMS\Serializer\Metadata\Driver\AnnotationDriver; |
|
29 | 27 | use JMS\Serializer\Handler\HandlerRegistry; |
30 | 28 | use JMS\Serializer\Construction\UnserializeObjectConstructor; |
31 | 29 | use PhpCollection\Map; |
32 | 30 | use JMS\Serializer\EventDispatcher\EventDispatcher; |
33 | -use Metadata\Driver\DriverChain; |
|
34 | -use JMS\Serializer\Metadata\Driver\YamlDriver; |
|
35 | -use JMS\Serializer\Metadata\Driver\XmlDriver; |
|
36 | -use Metadata\Driver\FileLocator; |
|
37 | 31 | use JMS\Serializer\Handler\DateHandler; |
38 | 32 | use JMS\Serializer\Handler\ArrayCollectionHandler; |
39 | 33 | use JMS\Serializer\Construction\ObjectConstructorInterface; |