@@ -104,6 +104,11 @@ discard block |
||
104 | 104 | ); |
105 | 105 | } |
106 | 106 | |
107 | + /** |
|
108 | + * @param Organization $mockOrganization |
|
109 | + * @param Organization $mockedOrganizationInFactory |
|
110 | + * @param string $name |
|
111 | + */ |
|
107 | 112 | private function getMockContainer($mockOrganization = null, $mockedOrganizationInFactory = null, $name = OrganizationInterface::DEFAULT_NAME) |
108 | 113 | { |
109 | 114 | $mockRepo = $this->getMockBuilder(OrganizationRepositoryInterface::class) |
@@ -148,7 +153,7 @@ discard block |
||
148 | 153 | } |
149 | 154 | |
150 | 155 | /** |
151 | - * @param $input |
|
156 | + * @param string $input |
|
152 | 157 | * |
153 | 158 | * @return resource |
154 | 159 | */ |
@@ -129,6 +129,11 @@ discard block |
||
129 | 129 | ); |
130 | 130 | } |
131 | 131 | |
132 | + /** |
|
133 | + * @param Tenant $mockTenant |
|
134 | + * @param Organization $mockOrganization |
|
135 | + * @param Tenant $mockedTenantInFactory |
|
136 | + */ |
|
132 | 137 | private function getMockContainer($mockTenant = null, $mockOrganization = null, $mockedTenantInFactory = null, $subdomain = 'default') |
133 | 138 | { |
134 | 139 | $mockRepoOrganization = $this->getMockBuilder(OrganizationRepositoryInterface::class) |
@@ -187,7 +192,7 @@ discard block |
||
187 | 192 | } |
188 | 193 | |
189 | 194 | /** |
190 | - * @param $input |
|
195 | + * @param string $input |
|
191 | 196 | * |
192 | 197 | * @return resource |
193 | 198 | */ |
@@ -145,7 +145,7 @@ |
||
145 | 145 | * @param $subdomain |
146 | 146 | * @param $name |
147 | 147 | * @param $disabled |
148 | - * @param $organization |
|
148 | + * @param OrganizationInterface $organization |
|
149 | 149 | * |
150 | 150 | * @return TenantInterface |
151 | 151 | */ |
@@ -147,6 +147,9 @@ |
||
147 | 147 | $this->assertEquals($result, trim($this->commandTester->getDisplay())); |
148 | 148 | } |
149 | 149 | |
150 | + /** |
|
151 | + * @param Organization $mockOrganization |
|
152 | + */ |
|
150 | 153 | private function getMockContainer($mockOrganization = null) |
151 | 154 | { |
152 | 155 | $mockRepoOrganization = $this->getMockBuilder(OrganizationRepositoryInterface::class) |