Skip to content

Commit 4ad55f6

Browse files
authored
Remove unused var iriConverter (#4854)
1 parent f2c8a61 commit 4ad55f6

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

tests/Symfony/Routing/IriConverterTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use ApiPlatform\Api\IdentifiersExtractorInterface;
1717
use ApiPlatform\Api\ResourceClassResolverInterface;
1818
use ApiPlatform\Api\UrlGeneratorInterface;
19-
use ApiPlatform\Core\Api\IriConverterInterface;
2019
use ApiPlatform\Core\Tests\ProphecyTrait;
2120
use ApiPlatform\Exception\InvalidArgumentException;
2221
use ApiPlatform\Exception\RuntimeException;
@@ -284,8 +283,6 @@ private function getIriConverter($stateProviderProphecy = null, $routerProphecy
284283
$resourceMetadataCollectionFactoryProphecy = $this->prophesize(ResourceMetadataCollectionFactoryInterface::class);
285284
}
286285

287-
$iriConverter = $this->prophesize(IriConverterInterface::class);
288-
289286
return new IriConverter($stateProviderProphecy->reveal(), $routerProphecy->reveal(), $identifiersExtractorProphecy->reveal(), $this->getResourceClassResolver(), $resourceMetadataCollectionFactoryProphecy->reveal(), $uriVariablesConverter);
290287
}
291288
}

0 commit comments

Comments
 (0)