From 3174256bd29f5c33a574244bbef59a5abb8d45ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Mon, 4 Nov 2019 12:00:27 +0100 Subject: [PATCH] Add void typehint --- src/Features/Timestamps.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Features/Timestamps.php b/src/Features/Timestamps.php index a4cbe0d7..4eb4bb5f 100644 --- a/src/Features/Timestamps.php +++ b/src/Features/Timestamps.php @@ -11,7 +11,7 @@ use Stancl\Tenancy\TenantManager; class Timestamps implements Feature { - public function bootstrap(TenantManager $tenantManager) + public function bootstrap(TenantManager $tenantManager): void { $tenantManager->hook('tenant.creating', function ($tm, Tenant $tenant) { $tenant->with('created_at', Date::now());