From d4beae32ca9523a83f2712a35ab0e4d4522542d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Wed, 23 Oct 2019 08:14:30 +0200 Subject: [PATCH] Add docblocks to helpers --- src/helpers.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helpers.php b/src/helpers.php index 56d4cf08..aacf5fbe 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -6,6 +6,7 @@ use Stancl\Tenancy\Tenant; use Stancl\Tenancy\TenantManager; if (! \function_exists('tenancy')) { + /** @return TenantManager|mixed */ function tenancy($key = null) { if ($key) { @@ -17,6 +18,7 @@ if (! \function_exists('tenancy')) { } if (! \function_exists('tenant')) { + /** @return Tenant|mixed */ function tenant($key = null) { if (! is_null($key)) { @@ -28,6 +30,7 @@ if (! \function_exists('tenant')) { } if (! \function_exists('tenant_asset')) { + /** @return string */ function tenant_asset($asset) { return route('stancl.tenancy.asset', ['path' => $asset]);