Skip to content

Commit

Permalink
Fix Doctrine fixtures (#1321)
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettw authored Dec 29, 2024
1 parent cc7210f commit e5f4e52
Show file tree
Hide file tree
Showing 138 changed files with 330 additions and 281 deletions.
4 changes: 2 additions & 2 deletions src/Controller/Api/Domain/DomainBlockApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use App\Entity\Domain;
use App\Factory\DomainFactory;
use App\Service\DomainManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Domain/DomainRetrieveApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
use App\Repository\DomainRepository;
use App\Schema\PaginationSchema;
use App\Service\SearchManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Domain/DomainSubscribeApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use App\Entity\Domain;
use App\Factory\DomainFactory;
use App\Service\DomainManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Admin/EntriesChangeMagazineApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
use App\Entity\Magazine;
use App\Factory\EntryFactory;
use App\Service\EntryManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Admin/EntriesPurgeApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use App\Controller\Api\Entry\EntriesBaseApi;
use App\Entity\Entry;
use App\Service\EntryManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use App\Controller\Api\Entry\EntriesBaseApi;
use App\Entity\EntryComment;
use App\Service\EntryCommentManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Repository\EntryCommentRepository;
use App\Repository\EntryRepository;
use App\Schema\PaginationSchema;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Comments/EntryCommentsCreateApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
use App\Factory\EntryCommentFactory;
use App\Service\EntryCommentManager;
use App\Service\ImageManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Comments/EntryCommentsDeleteApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use App\Controller\Traits\PrivateContentTrait;
use App\Entity\EntryComment;
use App\Service\EntryCommentManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use App\Entity\EntryComment;
use App\Factory\EntryCommentFactory;
use App\Service\FavouriteManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Comments/EntryCommentsReportApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use App\Controller\Traits\PrivateContentTrait;
use App\DTO\ReportRequestDto;
use App\Entity\EntryComment;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Repository\Criteria;
use App\Repository\EntryCommentRepository;
use App\Schema\PaginationSchema;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Comments/EntryCommentsUpdateApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
use App\Entity\EntryComment;
use App\Factory\EntryCommentFactory;
use App\Service\EntryCommentManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Comments/EntryCommentsVoteApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
use App\Service\SettingsManager;
use App\Service\VoteManager;
use App\Utils\DownvotesMode;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use App\Entity\EntryComment;
use App\Factory\EntryCommentFactory;
use Doctrine\ORM\EntityManagerInterface;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use App\Entity\EntryComment;
use App\Factory\EntryCommentFactory;
use Doctrine\ORM\EntityManagerInterface;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
use App\Entity\EntryComment;
use App\Factory\EntryCommentFactory;
use App\Service\EntryCommentManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Repository\EntryCommentRepository;
use App\Repository\EntryRepository;
use App\Schema\PaginationSchema;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Api/Entry/DomainEntriesRetrieveApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Repository\Criteria;
use App\Repository\EntryRepository;
use App\Schema\PaginationSchema;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/EntriesDeleteApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

use App\Entity\Entry;
use App\Service\EntryManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/EntriesFavouriteApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use App\Entity\Entry;
use App\Factory\EntryFactory;
use App\Service\FavouriteManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/EntriesReportApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use App\Controller\Traits\PrivateContentTrait;
use App\DTO\ReportRequestDto;
use App\Entity\Entry;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/EntriesRetrieveApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use App\Repository\Criteria;
use App\Repository\EntryRepository;
use App\Schema\PaginationSchema;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Psr\EventDispatcher\EventDispatcherInterface;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/EntriesUpdateApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
use App\DTO\EntryResponseDto;
use App\Entity\Entry;
use App\Service\EntryManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/EntriesVoteApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
use App\Service\SettingsManager;
use App\Service\VoteManager;
use App\Utils\DownvotesMode;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Api/Entry/MagazineEntriesRetrieveApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Repository\Criteria;
use App\Repository\EntryRepository;
use App\Schema\PaginationSchema;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/MagazineEntryCreateApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
use App\Entity\Magazine;
use App\Service\EntryManager;
use App\Service\ImageManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Moderate/EntriesPinApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use App\Entity\Entry;
use App\Factory\EntryFactory;
use App\Service\EntryManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Moderate/EntriesSetAdultApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use App\Entity\Entry;
use App\Factory\EntryFactory;
use Doctrine\ORM\EntityManagerInterface;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Moderate/EntriesSetLanguageApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
use App\Entity\Entry;
use App\Factory\EntryFactory;
use Doctrine\ORM\EntityManagerInterface;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Entry/Moderate/EntriesTrashApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
use App\Entity\Entry;
use App\Factory\EntryFactory;
use App\Service\EntryManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Api/Entry/UserEntriesRetrieveApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
use App\Repository\Criteria;
use App\Repository\EntryRepository;
use App\Schema\PaginationSchema;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA;
use Symfony\Bridge\Doctrine\Attribute\MapEntity;
use Symfony\Component\HttpFoundation\JsonResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use App\Controller\Api\Instance\InstanceBaseApi;
use App\DTO\SettingsDto;
use App\Service\SettingsManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\RateLimiter\RateLimiterFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use App\Controller\Api\Instance\InstanceBaseApi;
use App\DTO\InstancesDto;
use App\Service\SettingsManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
Expand Down
4 changes: 2 additions & 2 deletions src/Controller/Api/Instance/Admin/InstanceUpdatePagesApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
use App\Repository\SiteRepository;
use App\Service\SettingsManager;
use Doctrine\ORM\EntityManagerInterface;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use App\Controller\Api\Instance\InstanceBaseApi;
use App\DTO\SettingsDto;
use App\Service\SettingsManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Annotation\Security;
use Nelmio\ApiDocBundle\Attribute\Model;
use Nelmio\ApiDocBundle\Attribute\Security;
use OpenApi\Attributes as OA;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Api/Instance/InstanceDetailsApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use App\DTO\SiteResponseDto;
use App\Repository\SiteRepository;
use App\Service\SettingsManager;
use Nelmio\ApiDocBundle\Annotation\Model;
use Nelmio\ApiDocBundle\Attribute\Model;
use OpenApi\Attributes as OA;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\RateLimiter\RateLimiterFactory;
Expand Down
Loading

0 comments on commit e5f4e52

Please sign in to comment.