Skip to content

Commit fcf87e3

Browse files
committed
Rename Mapper's $extractorFactory parameter to $typeExtractorFactory
1 parent d345586 commit fcf87e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Mapper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ final class Mapper implements NormalizerInterface, DenormalizerInterface
3434
public function __construct(
3535
PlatformInterface $platform = new StandardPlatform(),
3636
private readonly Configuration $config = new Configuration(),
37-
TypeExtractorFactoryInterface $extractorFactory = new DefaultTypeExtractorFactory(),
37+
TypeExtractorFactoryInterface $typeExtractorFactory = new DefaultTypeExtractorFactory(),
3838
TypeParserFactoryInterface $typeParserFactory = new DefaultTypeParserFactory(),
3939
TypeRepositoryFactoryInterface $typeRepositoryFactory = new DefaultTypeRepositoryFactory(),
4040
) {
41-
$this->extractor = $extractorFactory->createTypeExtractor($config);
41+
$this->extractor = $typeExtractorFactory->createTypeExtractor($config);
4242
$this->parser = $typeParserFactory->createTypeParser($config, $platform);
4343

4444
$this->normalize = $typeRepositoryFactory->createTypeRepository(

0 commit comments

Comments
 (0)