Skip to content

Commit

Permalink
Apply php-cs-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon authored and github-actions[bot] committed Nov 29, 2024
1 parent debc081 commit 3f50d03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Metadata/Controller/CollectionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@

use OpenApi\Attributes\Post;
use Pimcore\Bundle\StudioBackendBundle\Controller\AbstractApiController;
use Pimcore\Bundle\StudioBackendBundle\Metadata\Attribute\Request\FilterRequestBody;
use Pimcore\Bundle\StudioBackendBundle\Metadata\MappedParameter\MetadataParameters;
use Pimcore\Bundle\StudioBackendBundle\Metadata\Schema\PredefinedMetadata;
use Pimcore\Bundle\StudioBackendBundle\Metadata\Service\MetadataServiceInterface;
use Pimcore\Bundle\StudioBackendBundle\Metadata\Attribute\Request\FilterRequestBody;
use Pimcore\Bundle\StudioBackendBundle\OpenApi\Attribute\Content\ItemsJson;
use Pimcore\Bundle\StudioBackendBundle\OpenApi\Attribute\Response\DefaultResponses;
use Pimcore\Bundle\StudioBackendBundle\OpenApi\Attribute\Response\SuccessResponse;
Expand Down
3 changes: 1 addition & 2 deletions src/Metadata/Hydrator/MetadataHydrator.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function resolveData(mixed $data, string $type): mixed

private function resolveDefinitionData(mixed $data, string $type): mixed
{
if(!$data) {
if (!$data) {
return $data;
}

Expand All @@ -90,5 +90,4 @@ private function resolveDefinitionData(mixed $data, string $type): mixed
default => $data
};
}

}

0 comments on commit 3f50d03

Please sign in to comment.