| @@ -74,17 +74,17 @@ | ||
| 74 | 74 | } | 
| 75 | 75 | |
| 76 | 76 | return [ | 
| 77 | - 'id' => $tenant->getId(), | |
| 78 | - 'subdomain' => $tenant->getSubdomain(), | |
| 79 | - 'domainName' => $tenant->getDomainName(), | |
| 80 | - 'code' => $tenantCode, | |
| 81 | - 'name' => $tenant->getName(), | |
| 82 | - 'ampEnabled' => $tenant->isAmpEnabled(), | |
| 77 | + 'id' => $tenant->getId(), | |
| 78 | + 'subdomain' => $tenant->getSubdomain(), | |
| 79 | + 'domainName' => $tenant->getDomainName(), | |
| 80 | + 'code' => $tenantCode, | |
| 81 | + 'name' => $tenant->getName(), | |
| 82 | + 'ampEnabled' => $tenant->isAmpEnabled(), | |
| 83 | 83 | '_links' => [ | 
| 84 | 84 | 'self' => [ | 
| 85 | 85 |                      'href' => $this->router->generate('swp_api_core_get_tenant', ['code' => $tenantCode]), | 
| 86 | 86 | ], | 
| 87 | 87 | ], | 
| 88 | - ]; | |
| 88 | + ]; | |
| 89 | 89 | } | 
| 90 | 90 | } | 
| @@ -17,7 +17,6 @@ | ||
| 17 | 17 | namespace SWP\Bundle\ContentBundle\Doctrine\ORM; | 
| 18 | 18 | |
| 19 | 19 | use Doctrine\ORM\QueryBuilder; | 
| 20 | -use Elastica\Query; | |
| 21 | 20 | use SWP\Bundle\ContentBundle\Model\ArticleSourceReference; | 
| 22 | 21 | use SWP\Component\Common\Criteria\Criteria; | 
| 23 | 22 | use SWP\Bundle\ContentBundle\Doctrine\ArticleRepositoryInterface; | 
| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | public const TEMPLATE_NAME = 'template_name'; | 
| 24 | 24 | |
| 25 | 25 | protected static $expectedParameters = [ | 
| 26 | - self::TEMPLATE_NAME => [ | |
| 26 | + self::TEMPLATE_NAME => [ | |
| 27 | 27 | 'type' => 'string', | 
| 28 | 28 | ], | 
| 29 | 29 | ]; |