@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Core Bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher MultiTenancy Component. |
@@ -131,7 +131,7 @@ |
||
131 | 131 | $default = $input->getOption('default'); |
132 | 132 | if (!$input->getArgument($name) && !$default && $name !== $this->arguments[1]) { |
133 | 133 | $question = new Question(sprintf('<question>Please enter %s:</question>', $name)); |
134 | - $question->setValidator(function ($argument) use ($name) { |
|
134 | + $question->setValidator(function($argument) use ($name) { |
|
135 | 135 | if (empty($argument)) { |
136 | 136 | throw new \RuntimeException(sprintf('The %s can not be empty', $name)); |
137 | 137 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Core Bundle. |
@@ -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 | } |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Content Bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Core Bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Content List Bundle. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Content List Bundle. |