Skip to content

Commit 523acbc

Browse files
cs: php-cs-fixer 3.65.0 compatibility (#6832)
1 parent 717c7e5 commit 523acbc

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

src/OpenApi/Factory/OpenApiFactory.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
use ApiPlatform\Metadata\Resource\Factory\ResourceNameCollectionFactoryInterface;
3434
use ApiPlatform\Metadata\Resource\ResourceMetadataCollection;
3535
use ApiPlatform\OpenApi\Attributes\Webhook;
36-
use ApiPlatform\OpenApi\Model;
3736
use ApiPlatform\OpenApi\Model\Components;
3837
use ApiPlatform\OpenApi\Model\Contact;
3938
use ApiPlatform\OpenApi\Model\ExternalDocumentation;
@@ -512,11 +511,11 @@ private function buildOpenApiResponse(array $existingResponses, int|string $stat
512511
}
513512

514513
/**
515-
* @return \ArrayObject<Model\MediaType>
514+
* @return \ArrayObject<MediaType>
516515
*/
517516
private function buildContent(array $responseMimeTypes, array $operationSchemas): \ArrayObject
518517
{
519-
/** @var \ArrayObject<Model\MediaType> $content */
518+
/** @var \ArrayObject<MediaType> $content */
520519
$content = new \ArrayObject();
521520

522521
foreach ($responseMimeTypes as $mimeType => $format) {
@@ -603,11 +602,11 @@ private function getPathDescription(string $resourceShortName, string $method, b
603602
/**
604603
* @see https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md#linkObject.
605604
*
606-
* @return \ArrayObject<Model\Link>
605+
* @return \ArrayObject<Link>
607606
*/
608607
private function getLinks(ResourceMetadataCollection $resourceMetadataCollection, HttpOperation $currentOperation): \ArrayObject
609608
{
610-
/** @var \ArrayObject<Model\Link> $links */
609+
/** @var \ArrayObject<Link> $links */
611610
$links = new \ArrayObject();
612611

613612
// Only compute get links for now

0 commit comments

Comments
 (0)