@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Nelmio\ApiDocBundle\Annotation\Model; |
| 19 | 19 | use SWP\Bundle\CoreBundle\Form\Type\ThemeInstallType; |
| 20 | 20 | use SWP\Bundle\CoreBundle\Form\Type\ThemeUploadType; |
| 21 | -use SWP\Bundle\CoreBundle\Model\Tenant; |
|
| 22 | 21 | use SWP\Bundle\CoreBundle\Model\TenantInterface; |
| 23 | 22 | use SWP\Bundle\CoreBundle\Theme\Helper\ThemeHelper; |
| 24 | 23 | use SWP\Component\Common\Response\ResourcesListResponseInterface; |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | |
| 19 | 19 | use Doctrine\DBAL\Exception\NotNullConstraintViolationException; |
| 20 | 20 | use Doctrine\ORM\EntityManagerInterface; |
| 21 | -use Doctrine\ORM\NonUniqueResultException; |
|
| 22 | 21 | use Psr\Log\LoggerInterface; |
| 23 | 22 | use Sentry\Breadcrumb; |
| 24 | 23 | use Sentry\State\HubInterface; |
@@ -43,8 +43,8 @@ |
||
| 43 | 43 | public function toArray(): array |
| 44 | 44 | { |
| 45 | 45 | return [ |
| 46 | - 'tenant' => $this->tenantId, |
|
| 47 | - 'content' => $this->content, |
|
| 46 | + 'tenant' => $this->tenantId, |
|
| 47 | + 'content' => $this->content, |
|
| 48 | 48 | ]; |
| 49 | 49 | } |
| 50 | 50 | } |