@@ -136,6 +136,11 @@ discard block |
||
| 136 | 136 | ); |
| 137 | 137 | } |
| 138 | 138 | |
| 139 | + /** |
|
| 140 | + * @param Tenant $mockTenant |
|
| 141 | + * @param Organization $mockOrganization |
|
| 142 | + * @param Tenant $mockedTenantInFactory |
|
| 143 | + */ |
|
| 139 | 144 | private function getMockContainer($mockTenant = null, $mockOrganization = null, $mockedTenantInFactory = null, $subdomain = 'default', $domain = 'localhost') |
| 140 | 145 | { |
| 141 | 146 | $mockRepoOrganization = $this->getMockBuilder(OrganizationRepositoryInterface::class) |
@@ -194,7 +199,7 @@ discard block |
||
| 194 | 199 | } |
| 195 | 200 | |
| 196 | 201 | /** |
| 197 | - * @param $input |
|
| 202 | + * @param string $input |
|
| 198 | 203 | * |
| 199 | 204 | * @return resource |
| 200 | 205 | */ |
@@ -130,7 +130,7 @@ |
||
| 130 | 130 | $default = $input->getOption('default'); |
| 131 | 131 | if (!$input->getArgument($name) && !$default && $name !== $this->arguments[1]) { |
| 132 | 132 | $question = new Question(sprintf('<question>Please enter %s:</question>', $name)); |
| 133 | - $question->setValidator(function ($argument) use ($name) { |
|
| 133 | + $question->setValidator(function($argument) use ($name) { |
|
| 134 | 134 | if (empty($argument)) { |
| 135 | 135 | throw new \RuntimeException(sprintf('The %s can not be empty', $name)); |
| 136 | 136 | } |