@@ -94,6 +94,9 @@ |
||
| 94 | 94 | return $tenantUser; |
| 95 | 95 | } |
| 96 | 96 | |
| 97 | + /** |
|
| 98 | + * @param InvitationInterface $invitation |
|
| 99 | + */ |
|
| 97 | 100 | public function delete($invitation, $withFlush = false) |
| 98 | 101 | { |
| 99 | 102 | $this->entityManager->remove($invitation); |
@@ -42,7 +42,7 @@ |
||
| 42 | 42 | /** |
| 43 | 43 | * @param MultiTenantUserInterface $user |
| 44 | 44 | * @param MultiTenantTenantInterface $tenant |
| 45 | - * @param array $roles |
|
| 45 | + * @param string[] $roles |
|
| 46 | 46 | * |
| 47 | 47 | * @return \Tahoe\Bundle\MultiTenancyBundle\Entity\TenantUser |
| 48 | 48 | * @throws \Exception |
@@ -56,7 +56,6 @@ discard block |
||
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | 58 | * @param MultiTenantUserInterface $user |
| 59 | - * @param FormInterface $form |
|
| 60 | 59 | * |
| 61 | 60 | * @return Tenant |
| 62 | 61 | * @throws \Exception |
@@ -94,7 +93,7 @@ discard block |
||
| 94 | 93 | |
| 95 | 94 | /** |
| 96 | 95 | * @param $tenantName |
| 97 | - * @return mixed|string |
|
| 96 | + * @return string |
|
| 98 | 97 | */ |
| 99 | 98 | private function createSubdomainFromTenant($tenantName) |
| 100 | 99 | { |
@@ -43,7 +43,6 @@ |
||
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @param MultiTenantTenantInterface $tenant |
| 46 | - * @param string $name |
|
| 47 | 46 | * @param array $parameters |
| 48 | 47 | * |
| 49 | 48 | * @return string |