@@ -25,7 +25,7 @@ |
||
| 25 | 25 | |
| 26 | 26 | /** |
| 27 | 27 | * @param Request $request |
| 28 | - * @param $cookieName |
|
| 28 | + * @param string $cookieName |
|
| 29 | 29 | * @param TenantRegistry $tenantRegistry |
| 30 | 30 | */ |
| 31 | 31 | public function __construct(Request $request, $cookieName, TenantRegistry $tenantRegistry) |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | private $headerKey; |
| 15 | 15 | |
| 16 | + /** |
|
| 17 | + * @param string $headerKey |
|
| 18 | + */ |
|
| 16 | 19 | public function __construct(Request $request, $headerKey) |
| 17 | 20 | { |
| 18 | 21 | $this->request = $request; |
@@ -59,7 +59,7 @@ |
||
| 59 | 59 | * @param string $parameterName |
| 60 | 60 | * @param TenantRegistry $registry |
| 61 | 61 | * |
| 62 | - * @return mixed |
|
| 62 | + * @return string |
|
| 63 | 63 | */ |
| 64 | 64 | public static function getTenantFromRequest(Request $request, $parameterName = 'tenant', TenantRegistry $registry) |
| 65 | 65 | { |